New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN: 9781305503922
Author: Patrick M. Carey
Publisher: Cengage Learning
Question
Book Icon
Chapter 5, Problem 10RA
Program Plan Intro

To create a flexbox for the section element with class ID, tips and creating a style rules to display the tips section in row direction with wrapping on the flex board.

Blurred answer
Students have asked these similar questions
Next, set the display of the section element with class ID of tips as a flexbox. Have the content of the flexbox flow in the row direction with row wrapping enabled.
You add a style to the start tag for an element, such as a heading or paragraph, using the style attribute
I am having an issue I am not sure what error I have with this code when I execute it. Here are the instructions for the code: Column Styles Next, you’ll format the grid columns. Go to the Column Styles section. Create a style rule to float all div elements whose class value starts with “col-” on the left margin. Set the padding around all such elements to 2%. Finally, apply the Border Box Sizing model to the content of those elements.(Note: Remember to use web extensions to provide support for older browsers.) In the same section, create style rules for div elements with class names .col-1-1, .col-1-2, .col-1-3, .col-2-3, .col-1-4, and .col-3-4 to set their widths to 100%, 50%, 33.33%, 66.67%, 25%, and 75% respectively.   Here is my code: div[class^="col-"]{   float:left;   padding: 2%;   -webkit-box-sizing: border-box;   -moz-box-sizing: border-box;   box-sizing: border-box; } div.col-1-1 {width: 100%;} div.col-1-2 {width: 50%;} div.col-1-3 {width: 33.33%;} div.col-2-3 {width:…

Chapter 5 Solutions

New Perspectives on HTML5, CSS3, and JavaScript