![]() |
#1 |
Registered User
Join Date: Jul 2012
Posts: 111
|
Set Multiple Classes on an HTML Element
<div class="class-1 class-2 class-3">
</div> with all class names inside the same set of double quotes with a space between each. The CSS specificity is controlled by the order of the classes in your CSS file. If your CSS has: class-2 {color: blue} class-3 {color: green} class-1 {color: red}
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
BasicDifference between HTML 5 and HTML 4 | albertmorrison3 | HTML / DHTML | 14 | 12-06-2017 09:50 PM |
<Figure> Element of HTML5 | spinxwebdesign | HTML / DHTML | 0 | 07-04-2012 11:00 PM |
HTML 5 and HTML 4 | johnhedberg3 | HTML / DHTML | 3 | 06-16-2012 04:08 AM |
Differences with HTML 4 and HTML 5 | danielnelson | HTML / DHTML | 11 | 06-10-2012 09:21 PM |
1.Basic distinguishing features of HTML 4 and HTML 5 | rooseveltjobs | HTML / DHTML | 0 | 04-12-2012 10:00 PM |