User:Nanubhardwaj.51/sandbox: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 10: Line 10:
    
    
</div>
</div>
<div style="background-color:#4dff4d;width:50%;text-align:center;padding:7px;float:left;">
<center>
<div style="background-color:#33cc33;width:80%;text-align:center;padding:2px;">
  <h3 style="font-size:2vw;">Example of div inside a div.</h3>
  <p style="font-size:2vw;">It has background color = #33cc33.</p>
  <p style="font-size:2vw;">This is some text in a div element.</p>
</div>
</center>
</div>
<div style="background-color:#ff0000;width:50%;text-align:center;padding:7px;float:right;">
<center>
<div style="background-color:#33cc33;width:80%;text-align:center;padding:2px;">
  <h3 style="font-size:2vw;">Example of div inside a div.</h3>
  <p style="font-size:2vw;">It has background color = #33cc33.</p>
  <p style="font-size:2vw;">This is some text in a div element.</p>
</div>
</center>
</div>




Anonymous user

Navigation menu