- 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.
- Learning Cython Programming(Second Edition)
- C語言程序設計
- Python機器學習編程與實戰
- Learning Python by Building Games
- 利用Python進行數據分析(原書第3版)
- 51單片機C語言開發教程
- Test-Driven Machine Learning
- Java Web開發就該這樣學
- Natural Language Processing with Java and LingPipe Cookbook
- AI自動化測試:技術原理、平臺搭建與工程實踐
- XML程序設計(第二版)
- 軟件開發中的決策:權衡與取舍
- AngularJS Web Application Development Cookbook
- 三步學Python
- Instant AutoIt Scripting