Css Flexbox in Hindi / Urdu With Projects (Free Source Code)

CSS Flexbox in Hindi / Urdu With Projects (Free Source Code)


Channel: Code With Harry

ABOUT THE CSS FLEXBOX 

There are Three flexbox layout Modules:
1: Inline For The Text You Write.
2: Table is Used for Two Dimensional Data.
3: The Flexiable Layout Modules.

Flexbox Elements:

For Using the Flexbox in your Website You Will Must Define The Flexbox Container.

Create a Basic Project For Under Standing Flexbox.

<!DOCTYPE html>
<html>
<head>
<style>
.flex-container {
  display: flex;
  background-color: DodgerBlue;
}
.flex-container > div {
  background-color: #f1f1f1;
  margin: 10px;
  padding: 20px;
  font-size: 30px;
}
</style>
</head>
<body>
<h1>Create a Flex Container</h1>
<div class="flex-container">
  <div>1</div>
  <div>2</div>
  <div>3</div>  
</div>
<p>A Flexible Layout must have a parent element with the <em>display</em> property set to <em>flex</em>.</p>
<p>Direct child elements(s) of the flexible container automatically becomes flexible items.</p>
</body>
</html>


Project look after Completion:

1
2
3

To Use Flexbox You Must have to set this Display Property with to flex (Like This Display:Flex;)

Practice For Flexbox:

After Watching The Video Make This:

Post a Comment

0 Comments