When you make your text bold, it creates a <strong> tag, and when you make it italicized, it creates an <em> tag under the HTML properties. Under the CSS properties, you can change what these tags are supposed to look like.
After switching from HTML to CSS, you are now able to edit or create new rules for your text.
I also learned a few different ways to change the color of text and how to make semi-transparent text.
Under properties, the man in the tutorial writes rgba(255,255,255
255 is the value for each of the color channels, followed by the alpha transparency level, which is between 0 and 1. The value .5 is used.
How make make drop caps (when the first letter of a paragraph is capitalized and the rest of the text flows around it).
First you need to create a new CSS rule. The narrator says to hit 'Less Specific' and then type in first letter to make the drop cap.
No comments:
Post a Comment