Skip to content

Commit 26e708e

Browse files
all predefined styles
1 parent ad33b5a commit 26e708e

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

indext.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,31 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>Ecommerce website</title>
8+
<link rel="stylesheet" href="style.css">
89
</head>
910
<body>
1011

12+
<!--header section-->
13+
14+
<header>
15+
16+
</header>
17+
18+
<!--main section-->
19+
20+
<main>
21+
22+
</main>
23+
24+
<!--footer section-->
25+
26+
<footer>
27+
28+
</footer>
29+
30+
31+
32+
33+
<script src="script.js"></script>
1134
</body>
1235
</html>

style.css

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
2+
3+
/* global styles */
4+
5+
*{
6+
margin: 0;
7+
padding: 0;
8+
box-sizing: border-box;
9+
font-family: 'League Spartan', sans-serif;
10+
}
11+
12+
h1{
13+
font-size:50px;
14+
line-height: 64px;
15+
color:#222;
16+
}
17+
h2{
18+
font-size:46px;
19+
line-height: 54px;
20+
color:#222;
21+
}
22+
h4{
23+
font-size:20px;
24+
color:#222;
25+
}
26+
h6{
27+
font-weight: 700;
28+
font-size: 12px;
29+
}
30+
p{
31+
font-size: 16px;
32+
color: #465b52;
33+
margin:15px 0 20px 0;
34+
}
35+
.section-p1{
36+
padding: 40px 0;
37+
}
38+
.section-m1{
39+
margin: 40px 0;
40+
}
41+
body{
42+
width: 100%;
43+
}

0 commit comments

Comments
 (0)