title: Button to darken the whole page?
body: <p>I'm making a website in CSS and HTML (ofc there's JS, jQuery and XML but let's stick to the point) I want to make a button whats using <code>&lt;ul&gt;</code> and <code>&lt;li&gt;</code>  to darken the webpage, I found this, code: </p>
  
  <pre><code>#dimmer
  {
  
  background:#000;
      opacity:0.5;
      position:fixed; /*enter code here important to use fixed, not absolute */
      top:0;
      left:0;
      width:100%;
      height:100%;
      display:none;
      z-index:9999; /* may not be necessary */
  }
  </code></pre>
  
  <p>Anyone of you know how to make the CSS menu button to use the <code>div</code> inside of itself?</p>