Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical Web Design

You're reading from   Practical Web Design Learn the fundamentals of web design with HTML5, CSS3, Bootstrap, jQuery, and Vue.js

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788395038
Length 368 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Philippe Hong Philippe Hong
Author Profile Icon Philippe Hong
Philippe Hong
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Title Page
PacktPub.com
Contributers
Preface
1. Evolution of Web Design FREE CHAPTER 2. Web Design and its Components 3. Website-Designing Workflow 4. Responsive Versus Adaptive Design 5. Learning HTML5 6. Learning CSS3 7. Building Your Own Website 8. Making Our Website Responsive 9. Adding Interaction and Dynamic Content 10. Optimizing and Launching Our Website 11. What is Bootstrap? 12. Building a Website with Bootstrap 13. Introduction to Client-Side Rendering 14. Tools to Help Your Workflow 1. Other Books You May Enjoy Index

Blog section


First, as we always do (and you need to get into this habit), we need to analyze the design and see how is it composed:

As we can see, the Blog section is composed of a header and six Blog posts. There are two rows of three posts each, with an equal width of one-third.

We know how to design this with a float and the display: inline-block properties. Let's try to build it with CSS flexbox. 

Let's first add the HTML:

<section id="blog">
  <div class="container">
    <h2><b>Blog</b> Everything about RACING CLUB</h2>

  </div>
</section>

Here are some explanations: 

  1. We need to create another section id "blog"
  2. We need to reuse the class container to have a container that follows the same width
  3. We add an <h2> since it's not as important as the hero title
  4. We add a <b> tag to make the wordBlogbold

Let's add our blog posts section now:

<section id="blog">
<div class="container">
    <h2><b>Blog</b> Everything...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image