Css selectors: table td+td+td+td+td+td - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Cell

Description

Css selectors: table td+td+td+td+td+td

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
table td+td+td+td+td+td {
   background-color:Chartreuse;
}
</style> <!--from   w w w.  ja  v a  2  s  . co  m-->
 </head> 
 <body> 
  <table> 
   <tbody> 
    <tr> 
     <td>L</td> 
     <!-- starting from here --> 
     <td>L</td> 
     <td>L</td> 
     <td>L</td> 
     <td>L</td> 
     <td>L</td> 
     <!-- selects this one --> 
     <td>L</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials