From the course: Creating a Responsive Web Design
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Styling the how-to section blockquote element - CSS Tutorial
From the course: Creating a Responsive Web Design
Styling the how-to section blockquote element
- Now that we have the two side elements styled inside of the how-to section, we're going to work on the blockquote now. Let's go back to our CSS file. Going to scroll up here a little bit. We're still inside of the section.how-to. Let's add a line. I'm going to come up here and copy the section.how-to rule name. Let's space paste that here, then a space. Now we'll target the blockquote, put in our brackets. If I go back to the HTML file, we are targeting this item here, this blockquote, inside of the section or the class of how-to. Let's go back to our CSS. Also going to split this on a few lines, just because we're going to add a few properties here. The first property we're going to set Is margin. We're going to set this to zero on all four sides. Next we're going to set a width. We're going to set this to 32%. Next we'll set the color of the type. # and a 4 for red, green, and blue, so that we get a medium dark grey. Next line we're going to set the background color. We're going…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Importing a Google Font3m 54s
-
(Locked)
Defining the basic text styles4m 18s
-
(Locked)
Styling the heading and page container4m 45s
-
(Locked)
Styling the logo and hero item6m 50s
-
(Locked)
Creating the button style4m 32s
-
(Locked)
Setting up a three-column row6m 4s
-
(Locked)
Adding graphics to the main section4m 54s
-
(Locked)
Clearing floats with pseudo-elements4m 3s
-
(Locked)
Styling the atmosphere section3m 25s
-
(Locked)
Styling the how-to section aside elements5m 9s
-
(Locked)
Styling the how-to section blockquote element5m 37s
-
(Locked)
Adding content with pseudo-elements5m 35s
-
(Locked)
Styling the footer3m 22s
-
-
-
-
-
-
-