Devam Ediyor

496751 Quick Mootools Question

Since old IE browsers and old safari doesn't support the CSS pseudo class :last-child, I want to add a class "last-child" via mootools.

example:

HTML:

<div id="top">

<div>First</div>

<div>Second</div>

<div>Last</div>

</div>

CSS:

.lastchild {float:right;}

QUESTION:

What would be the proper syntax to add the class "lastchild" to the last div inside the #top using Mootools?

Beceriler: Her şey Kabul, CSS, HTML

Daha fazlasını görün: float, html add div, div add html, html div example, quick support, question html, safari add css, css float, html float, css syntax, mootools, proper css

İşveren Hakkında:
( 68 değerlendirme ) San Antonio, United States

Proje NO: #2242667