forked from chetannada/Namaste-React
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAssignment.css
83 lines (75 loc) · 1.14 KB
/
Assignment.css
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
background-color: aqua;
width: auto;
}
.left {
margin-left: 40px;
}
.left img {
width: 50px;
margin: 10px 40px 0 10px;
cursor: pointer;
}
img:hover {
transform: scale(1.1);
}
.center .input {
width: 400px;
border-radius: 10px;
padding: 10px;
}
.input:focus {
border: 3px solid crimson;
}
.center button {
border-radius: 10px;
padding: 10px;
cursor: pointer;
}
button:hover {
background-color: green;
color: white;
}
.right {
margin-right: 40px;
}
.right img {
width: 50px;
margin: 10px 20px 0 0;
cursor: pointer;
}
@media screen and (max-width: 770px) {
.center .input {
width: 200px;
transition: all 500ms ease;
}
}
@media screen and (max-width: 500px) {
.left {
margin-left: 5px;
}
.left img {
margin: 10px 10px 0 10px;
}
.right {
margin-right: 5px;
}
.center .input {
width: 100px;
transition: all 500ms ease;
}
}
@media screen and (max-width: 340px) {
.center .input {
width: 70px;
transition: all 500ms ease;
}
}