<!DOCTYPE html> <html> <head> <style> .first{ width:100px; height:200px; background-color:lightgreen; } .second{ width:200px; height:100px; background-color:lightblue; } </style> </head> <body> <div class="second one">The <b>.second</b> class is dominating for one element.</div> </body> </html>
Run
×
Share