- Learning Bootstrap 4(Second Edition)
- Matt Lambert
- 227字
- 2021-07-14 10:32:20
Chapter 3. Jumping into Flexbox
Alright, now that we have finished setting up all the Bootstrap build tools, let's jump into an actual great new feature of Bootstrap 4. The latest version of the framework comes with CSS Flexbox support. The goal of the Flexbox layout module is to create a more effective way of designing a layout for a website or web application. The grid of boxes is aligned in a way that distributes them across their container even if their size is unknown. This is where the "Flex" in Flexbox comes from.
The motivation for a flexible box arose from a web design for mobiles. A way to have a section grow or shrink to best fill the available space was needed when building responsive web applications or websites. Flexbox is the opposite of block layouts that are either vertically or horizontally driven. It's important to note that Flexbox is generally best suited for use when designing web applications. The traditional grid method still works best for larger websites.
In our blog project, we're going to use Flexbox to create a homepage. There will be several rows of blocks, each being a post. I'll show you a few ways to lay the blocks out and different ways you can customize the contents of each block, all using the new Flexbox layout in Bootstrap.
- HornetQ Messaging Developer’s Guide
- 案例式C語(yǔ)言程序設(shè)計(jì)
- iOS 9 Game Development Essentials
- Unity Virtual Reality Projects
- UML+OOPC嵌入式C語(yǔ)言開(kāi)發(fā)精講
- 精通Scrapy網(wǎng)絡(luò)爬蟲(chóng)
- PostgreSQL 11從入門到精通(視頻教學(xué)版)
- Kotlin Standard Library Cookbook
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲(chóng)案例實(shí)戰(zhàn)全流程詳解(高級(jí)進(jìn)階篇)
- RESTful Java Web Services(Second Edition)
- Scratch趣味編程:陪孩子像搭積木一樣學(xué)編程
- .NET 4.5 Parallel Extensions Cookbook
- JavaScript程序設(shè)計(jì):基礎(chǔ)·PHP·XML
- C陷阱與缺陷
- MySQL 8從零開(kāi)始學(xué)(視頻教學(xué)版)