Prev Demo
CSS3
>
Descendant
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> .myGallery li { background-color: Fuchsia; border: 1px solid #c0c0c0; } </style> <div style="background-color: #efefef; padding: 50px; height: 150px;"> <ul class="myGallery"> <li> <img src="http://techfunda.com/HTPictures/Generics/1-635716259621984414.jpg" /></li> <li> <image src = "http://techfunda.com/HTPictures/Generics/1-635724500240488175.gif" /></li> <li> <img src="http://techfunda.com/HTPictures/Generics/1-635716259621984414.jpg" /></li> <li> <image src = "http://techfunda.com/HTPictures/Generics/1-635724500240488175.gif" /></li> </ul> </div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output