Skip to content

Commit 7b2aae6

Browse files
committed
setting up css
1 parent b65475f commit 7b2aae6

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
*{
2+
margin:0;
3+
padding:0;
4+
}
5+
6+
body{
7+
background-color: cornflowerblue;
8+
9+
}
10+
11+
div{
12+
background-color: aliceblue;
13+
width: 400px;
14+
height:400px;
15+
margin:100px auto ;/* made the div in center*/
16+
border-radius: 5px;
17+
18+
19+
}
20+
21+
22+
img{
23+
width: 200px;
24+
height:200px;
25+
display: block;/* made the image in center of div*/
26+
margin: auto;
27+
padding-top: 10px;
28+
}
29+
30+
#state{
31+
text-align: center;
32+
margin: 5px;
33+
}
34+
#bttn{
35+
border-radius: 5px;
36+
background-color: rgb(98, 98, 238);
37+
color: black;
38+
padding: 10px;
39+
display: block;
40+
margin: auto;
41+
margin-top: 20px;
42+
border: none;
43+
width: 150px;
44+
45+
font-size: large;
46+
47+
}
48+
49+
.nam{
50+
text-align: center;
51+
padding: 5px;
52+
margin: 10px;
53+
}

0 commit comments

Comments
 (0)