/ Published in: HTML
The css style's in the tags are important for this snippet to work.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE HTML> <html lang="en_US"> <head> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="reset.css" media="all"> <style type="text/css"> ul li{ float:left; } ul li div{ margin-right:15px; } ul{ list-style:none; } .one, .two{ width:200px; height:200px; overflow:hidden; background-color:red; -webkit-border-radius:8px; } </style> </head> <body> <div class="container"> <ul> <li> </li> <li> </li> </ul> </div> </body> </html>