What does dot between words in CSS selectors mean, like"form.onepage" -
i found following code
form.onepage .row div { padding-top: 4px; padding-right: 2px; padding-left: 2px; }
i understand space in css selector means containing relationship , dot means selecting class name. "form.onepage" mean? there no space before dot....
i read through css selector reference on http://www.w3schools.com/cssref/css_selectors.asp, didn't find similiar.
that means class has been applied directly element.
<form class="onepage">
likewise if had div <div class="form onepage">
.form.onepage
.
this can found in the css selectors documentation.
Comments
Post a Comment