CSS - greater than selector - select items greater than N - HTML CSS CSS

HTML CSS examples for CSS:Selector

Description

CSS - greater than selector - select items greater than N

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">
p + p~p {
   display:none;
}
</style> <!--from ww w .  j av  a  2  s.c  o  m-->
 </head> 
 <body> 
  <p>L</p> 
  <p>L</p> 
  <p>L</p> 
  <p>L</p>  
 </body>
</html>

Related Tutorials