<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Tiêu đề</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(function(){
    $('.second').siblings().css("background","yellow");
});
</script>
</head>

<body>
<ul>
<li>Thành phần li 01</li>
<li class="second">Thành phần li 02</li>
<li>Thành phần li 03</li>
<li>Thành phần li 04</li>
</ul>
</body>
</html>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.