Luna  Hermann

Luna Hermann


Flexbox Is More Complicated Than You Thought

Article on CSS-Tricks:

Flex is a little strange in how it works, and I only recently dove deep enough into it to really understand what was going on, so I figured I’d share my discoveries with you!

🎓 - I have a 4+ hour course that focuses only on understanding and using Flexbox:

🔗 Links

⌚ Timestamps

  • 00:00 - Introduction
  • 02:15 - How flexbox calculates the size of elements
  • 06:10 - How flex-shrink calculates how much to shrink by
  • 11:24 - How flex-grow calculates the size to grow by
  • 12:00 - What flex: 1 actually does
  • 13:09 - Why flex: 1 on all the flex items doesn’t make even columns all the time
  • 16:16 - Why flex-basis: 100% doesn’t have the same result as flex: 1
  • 17:23 - My new preferred solution
  • 20:00 - A solution using flexbox
  • 21:26 - Flexbox vs Grid

#css #web-development

What is GEEK

Buddha Community

Flexbox Is More Complicated Than You Thought

CSS Flexbox: What I learned from Flexbox Zombies

I started playing an educational game called Flexbox Zombies, which has been teaching me the fundamentals of flexbox in a fun way. In the game, you fight zombies by using features of flexbox to aim your crossbow at the zombies.

MDN docs explain flexbox as:

a one-dimensional layout method for laying out items in rows or columns. Items flex to fill additional space and shrink to fit into smaller spaces.

The Flexbox Zombies game teaches flexbox through a story, with each lesson building on the previous, thus reinforcing the fundamentals of flexbox in a fun and effective way.

#flexbox #css #css flexbox #flexbox zombies

Jennie  Hane

Jennie Hane


flexbox tutorial in Hindi | css flexbox tutorial in Hindi ( in 2020 )

flexbox tutorial in Hindi
css flexbox tutorial in Hindi
Why Flexbox? We all know that in the past how difficult it was to build layouts using positions and floats. but now with the help of FLEXBOX every thing became so easy.
In this video i will show you how to use flexbox to build a website layout or a grid.

Ps.In this video i am going to give you a MAGIC formula to make a grid system.

Please like and subscribe for more quality contents and don’t forget to press the bell icon so you will not miss any notification.

Here is the link for the HTML 5 Quick course ➡️
Here is the link for the CSS Quick course ➡️

Please Like, Share and Subscribe for the new amazing contents or videos.

You can follow me on Facebook ➡️

#cssFlexbox #cssFlexboxHindi #webDevelopmentHindi #learnFlexbox #flexboxTutorialInHindi #flexboxTutorials

#flexbox #css #css flexbox

CSS Flexbox: flex-wrap

CSS flex-wrap is usually used to wrap the content into multiple lines, so the user no need to scroll to see the hidden content.

Let’s take this as an example, we created three boxes with min-width is equal to 200px. The container has the max-width is 900px.


<!DOCTYPE html>

<html lang="en">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<div class="container">
<div class="red box"></div>
<div class="blue box"></div>
<div class="orange box"></div>



background-color: beige;
max-width: 900px;
margin: auto;
display: flex;
height: 100px;
min-width: 200px;
background-color: red;
background-color: blue;
background-color: orange;

#css3 #web-development #react #flexbox #css #css flexbox

How To Center Vertically A Flexbox Container With A Column Of Flex Items

Figure 1, below, shows how the application looks before centering the content with Flexbox. What I want to do, is to center the content section of the web page - that is, everything between the header and footer.

Figure 1

The second picture, figure 2, illustrates what I want to achieve with Flexboox.

Figure 2

The solution

The solution to achieve the result in figure 2 is to use the Flexbox property align-items and set it to center. The code snippet below shows how I solved the issue.


.main {
  display: flex;
  flex-direction: column;
  align-items: center;

Below, you can see the full code used for the webpage. The code is from a Vue component, but it’s mostly HTML and CSS so it should look somewhat familiar. The only exception is the <CourseCard/>, which might look a bit unfamiliar. Think of it as three different divs wrapped inside .main.

#flexbox #css #flexbox container

html html

html html


Responsive Header Using Css Flexbox | Flexbox Tutorial | Css Flexbox Practical Examples

Today we will create a Responsive Header Using Css Flexbox. CSS3 Flexbox Tutorial for beginners. If you find this tutorial useful give it a like and Subscribe for more awesome web development content. Fell free to ask any question in comments.


#css #flexbox