Get to know * * CSS selector - HTML CSS CSS

HTML CSS examples for CSS:Selector

Description

Get to know * * CSS selector

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Lorem ipsum dolor sit amet, </title> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
* {<!--from  w  w w.  j  a  v  a2  s  . c  o  m-->
   outline:3px dotted red;
}

* * {
   outline:3px dotted green;
}

* * * {
   outline:3px dotted orange;
}

* * * * {
   outline:3px dotted blue;
}

* * * * * {
   outline:2px solid red;
}

* * * * * * {
   outline:2px solid green;
}

* * * * * * * {
   outline:2px solid orange;
}

* * * * * * * * {
   outline:2px solid blue;
}

body,div {
   padding:11px;
}
</style> 
 </head> 
 <body> 
  <div> 
   <div> 
    <div> 
     <div> 
      <div> 
       <div> 
       </div> 
      </div> 
     </div> 
    </div> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials