CSS Framework Alternatives: Explore Five Lightweight Alternatives to Bootstrap and Foundation With Project Examples by Aravind Shenoy & Anirudh Prabhu
Author:Aravind Shenoy & Anirudh Prabhu [Shenoy, Aravind & Prabhu, Anirudh]
Language: eng
Format: epub
Tags: Web, Computers, Design, Web Development, Information Technology, Web Programming
ISBN: 9781484233993
Google: UJxQDwAAQBAJ
Publisher: Apress
Published: 2018-03-10T23:35:40.731929+00:00
As you can see, you can use uk-child-width-expand to evenly split all the items in the same row without going to the next row. Figure 4-8 shows the output of the code.
Figure 4-8Evenly sizing the inner elements
You can also define a custom width for some items in the code and use them in conjunction with the uk-child-width classes. Let’s look at the code in Listing 4-9 to see an example.
<div class="uk-child-width-expand uk-grid-small uk-text-center" uk-grid>
<div>
<div class="uk-card uk-card-default uk-card-primary uk-card-body"> Spread</div>
</div>
<div class="uk-width-2-3">
<div class="uk-card uk-card-default uk-card-primary uk-card-body">Custom </div>
</div>
<div>
<div class="uk-card uk-card-default uk-card-primary uk-card-body">Spread</div>
</div>
<div>
<div class="uk-card uk-card-default uk-card-primary uk-card-body">Spread</div>
</div>
</div>
Listing 4-9Defining Custom Width for Inner Element
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.
Deep Learning with Python by François Chollet(12570)
Hello! Python by Anthony Briggs(9914)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9796)
The Mikado Method by Ola Ellnestam Daniel Brolund(9778)
Dependency Injection in .NET by Mark Seemann(9337)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8296)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7763)
Grails in Action by Glen Smith Peter Ledbrook(7696)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7070)
Microservices with Go by Alexander Shuiskov(6831)
Practical Design Patterns for Java Developers by Miroslav Wengner(6750)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6695)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6413)
Angular Projects - Third Edition by Aristeidis Bampakos(6097)
The Art of Crafting User Stories by The Art of Crafting User Stories(5622)
NetSuite for Consultants - Second Edition by Peter Ries(5561)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5367)
Kotlin in Action by Dmitry Jemerov(5062)
