What's the difference again?


#1

What’s the difference between these two again? One is a CSS selector for a Class ID but the other is what again?

#article-title {
font-family: cursive;
text-transform: capitalize;
}

.publish-time {
color:gray;

}


#2

uhm… class id? One selector targets an id, the other a class.

#article-title is a selector for an id, .publish-time is a s selector for a class.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.