CSS样式中 li + li表示什么意思?

html-css024

CSS样式中 li + li表示什么意思?,第1张

你好楼主,

这句话是样式.navigation下面li列表里a标签上selected的样式。可以直接理解为a标签样式,和我们平时写a:link这样子的一样。希望我的回答能对你有帮助。@^_^@

还原为html的就是这样了。

<style>

*{ paddding:0 margin:0}

li{ list-style-type:none}

b{font-weight:normalpadding:0 10px} 

p{line-height:30px}

</style>

<ul style="font-size:14px color:#eee">

       <li>

              <b style=" color:#f00 font-size:15px">姓名<b>

              <span style="color:#f00 font-size:15px">奖品</span>    

       </li>

       <li>

           <p>

                <b>姓名</b><span>海盗双人五日游</span>

           </p>

           <p>

                   <b>岛封</b><span>海盗双人五日游</span>

           </p>

        </li>

        

        

        <li>

           <p>

                <b>姓名</b><span>海盗双人五日游</span>

           </p>

           <p>

                   <b>岛封</b><span>海盗双人五日游</span>

           </p>

        </li>

        <li>

           <p>

                <b>姓名</b><span>海盗双人五日游</span>

           </p>

           <p>

                   <b>岛封</b><span>海盗双人五日游</span>

           </p>

        </li>

        <li>

           <p>

                <b>姓名</b><span>海盗双人五日游</span>

           </p>

           <p>

                   <b>岛封</b><span>海盗双人五日游</span>

           </p>

        </li>

        <li>

           <p>

                <b>姓名</b><span>海盗双人五日游</span>

           </p>

           <p>

                   <b>岛封</b><span>海盗双人五日游</span>

           </p>

        </li>

</ul>