In this tutorial, we create two responsive card layouts with CSS Flexbox.
We look at how to structure our individual cards, as well as how to layout multiple cards inside their parent flex container.
We'll also learn how to make our card layout mobile responsive without using CSS media queries. This is achieved by setting an absolute width on our child flex items and setting the "flex-wrap" value to "wrap" on the parent container.
Finally, we'll learn how to use negative margins to overlap an image on the edge of a card.
I hope you found this video helpful. If you have any questions, please leave them in the comments below and I'll do my best to answer as soon as possible.
TIMESTAMPS:
00:00 Introduction
00:58 Setting up our first card section
02:39 Writing the HTML for our first card
03:56 Styling our first card with CSS
07:20 Creating hover states for our button and card
09:49 Laying out multiple cards
10:56 Making our cards layout responsive
12:27 Setting up the HTML for our second card layout
13:56 Styling our second card layout with CSS
16:28 Re-using our Flexbox layout classes
17:27 Summary
WATCH NEXT:
• How to Create a CSS Flexbox Sidebar and Content Layout - • How to Create a CSS Flexbox Sidebar a...
• How to Make One Flex Item Full-Width - • How to Make One Flex Item Full-Width ...
• How to Overlap Flex Items with CSS Flexbox - • How to Overlap Flex Items with CSS Fl...
• Create a Simple Responsive Footer with CSS Flexbox - • Create a Simple Responsive Footer wit...
Auf dieser Seite können Sie das Online-Video How to Create Cards with CSS Flexbox - Responsive Web Design Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Front End Beginners 12 November 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,511 Mal angesehen und es wurde von 42 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!