html - Is it possible to override <strong> properties within a CSS class only? -
i want create div contains 3 words, , want 1 of words in div emphasized in different font , size. possible override default <strong>
in div's class can use, example, hello there <strong> world
word "world" emphasized differently other "strong-ed" words aren't in div?
don't forget advertisement in container are. can still utilize <strong>
element elsewhere.
<div id="container"> hello there <strong> world </strong> </div> #container strong { font-weight: normal; color: red; }
html css
No comments:
Post a Comment