forked from rohan1917/FSWDT-JAN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathday-15-cssFlexBoxAnimationsAndMediaQueries.html
45 lines (40 loc) · 1.36 KB
/
day-15-cssFlexBoxAnimationsAndMediaQueries.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<title>CSS FlexBox Animations And MediaQueries</title>
<link rel="stylesheet" href="./day-15-cssFlexBoxAnimationsAndMediaQueries.css" />
</head>
<body>
<!-- <h4>FlexBox</h4> -->
<!--
FlexBox:
>> These are mainly used for creating layouts
>> These are 1D Layouts (it can be either row or cloumn)
-->
<!--
>> Horizontal (X-axis): justify-content
>> Vertical (Y-axis): align-items
>> gap: 10px
>>flex-direction: row/column
>> flex-wrap: wrap (dynamic feature)
-->
<!--
Note: Even if div has block scope when it is wrapped within diplay: flex it will not act as block scope
-->
<!-- <div class="parent">
<div class="child">1</div>
<div class="child">2</div>
<div class="child">3</div>
<div class="child">4</div>
<div class="child">5</div>
<div class="child">6</div>
<div class="child">7</div>
<div class="child">8</div>
<div class="child">9</div>
</div> -->
<!--
Animations:
-->
<button>Click Me</button>
</body>
</html>