-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewcss.css
More file actions
88 lines (78 loc) · 1.16 KB
/
newcss.css
File metadata and controls
88 lines (78 loc) · 1.16 KB
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
84
85
86
87
88
* {
box-sizing: border-box;
}
html
{
font-family: 'Nunito', sans-serif;
box-sizing: border-box;
}
h1
{
text-align: center;
background-color: rgba(0,206,209,0.5);
margin-bottom: 15px;
}
div
{
margin:10px;
border-style: solid;
border-width:1px;
border-color: black;
padding: 8px;
background-color: rgba(205,192,176,0.7);
text-align: left;
}
.html
{
background-color: rgba(0,206,209,0.9);
}
.css
{
background-color: rgba(0,206,209,0.5);
}
.js
{
background-color: rgba(0,206,209,0.7);
}
p {
margin-top: 40px;
margin-bottom: 0;
padding: 20px;
}
@media (min-width: 992px ) {
.col-lg-4 {
float: left;
width: 31.33%;
margin: 1%;
}
}
@media (min-width: 768px) and (max-width: 991px)
{
.col-md-6 {
width: 48%;
margin: 1%;
float: left;
}
.col-md-12 {
width: 98%;
margin: 1%;
float: left;
}
}
@media (max-width: 767px )
{
.col-sm-12 {
width: 98%;
margin: 1%;
float: left;
}
}
h2
{
text-align: right;
}
/*
While applying 33% my third element(H2 with CSS) didn't place in the first
row.
While applying 50% my second element(H2 with JS) didn't place in the first row
.