CSS Visual Rules: Review with YT video Link (it talks about google fonts too)
Incredible work! You used CSS to alter text and images on a website. Throughout this lesson, you learned concepts including:
- The
font-familyproperty defines the typeface of an element. font-sizecontrols the size of text displayed.font-weightdefines how thin or thick text is displayed.- The
text-alignproperty places text in the left, right, or center of its parent container. - Text can have two different color attributes:
colorandbackground-color.colordefines the color of the text, whilebackground-colordefines the color behind the text. - CSS can make an element transparent with the
opacityproperty. - CSS can also set the background of an element to an image with the
background-imageproperty. - The
!importantflag will override any style, however it should almost never be used, as it is extremely difficult to override.
Instructions:
1.Feel free to experiment with the code and see what other changes you can make!
If you want to see how to incorporate CSS visual rules in a project, watch the video below and follow along with one of our experts:
at 5 minutes 54 seconds in the video the instructor talks about how to use google fonts
Comments
Post a Comment