Architecting CSS by Martine Dowden & Michael Dowden
Author:Martine Dowden & Michael Dowden
Language: eng
Format: epub
ISBN: 9781484257500
Publisher: Apress
header, footer {
display: flex;
align-items: center;
justify-content: center;
}
header h2, footer h2 {
margin: 0;
}
Listing 4-27Grid CSS
Grid-row and grid-column can be defined using a single integer (grid-row: 1) or two integers separated by a / (grid-row: 1/3). When only one integer is used, the section will start that the line specified and span one column or row such as for the main element in the example earlier. When two integers separated by a / are used, the section will start at the line specified by the first integer and end at the line specified by the second, as seen on the footer’s grid-column value.
Similarly to flexbox or table, the placement of content within a section can be adjusted. The justify-items property can be used on the grid container to determine how content within sections or cells will align left to right. Its values are start, end, center, and stretch as illustrated in Figure 4-28. Stretch is the default value.
Figure 4-28Justify-Items Values
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Fifty Quick Ideas to Improve Your Tests by Gojko Adzic David Evans and Tom Roden(844)
Hands-On RESTful Web Services with ASP.NET Core 3 by Samuele Resca(703)
CSS 3 Visual Learning Guide: a comprehensive example set for getting up to speed fast by Ludo Mike(529)
PHP 7 Solutions by David Powers(434)
React js: The Ultimate Beginner's Guide to Learn React js Programming Step by Step - 2020 by Peterson Kathleen(427)
Getting Started with the Internet of Things by Pfister Cuno(383)
Beginning Git and GitHub by Mariot Tsitoara(379)
HTML 5 Visual Learning Guide: a comprehensive example set for getting up to speed fast by Ludo Mike(365)
Getting a Coding Job For Dummies by Nikhil Abraham(363)
Programming PHP by Kevin Tatroe Peter MacIntyre & Rasmus Lerdorf(322)
Magento 2 Development Cookbook by Bart Delvaux(321)
Programming PHP by Kevin Tatroe(303)
Creating Data-Driven Web Sites by Bob Terrell(302)
Full Stack Serverless by Nader Dabit(295)
Manifesto Comunista by Friedrich Engels(294)
Getting Started with OAuth 2.0 by Boyd Ryan(290)
Practical Oracle JET by Daniel Curtis(290)
gRPC by Kasun Indrasiri(278)
Building Web Applications with Erlang by Zachary Kessin(274)
