The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Doubt with css class class… Re: Doubt with css class class…


The problem is because .box and .maior are on the same div. So you’ll need a selector with the names combined to target it .box.maior (updated demo).

#content .box.maior{width:200px; height:100px; background:#333; color: #fff;}‚Äč

See this post for more information