Skip to content

Commit b551de8

Browse files
authored
Merge pull request #1 from shan-shaji/master
Basic page
2 parents 1e9457e + 13f2671 commit b551de8

File tree

2 files changed

+90
-0
lines changed

2 files changed

+90
-0
lines changed

css/style.css

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/* Please don't edit this file*/
2+
:root {
3+
--primary-color: #ffdd67;
4+
--padding-main: 20px;
5+
--primary-font: "Montserrat", sans-serif;
6+
--secondary-font: "Anton", sans-serif;
7+
}
8+
9+
body {
10+
font-family: var(--primary-font);
11+
}
12+
13+
/* main section css */
14+
.section-for-header {
15+
padding: var(--padding-main);
16+
background-color: var(--primary-color);
17+
color: rgb(0, 0, 0);
18+
}
19+
20+
.content {
21+
display: flex;
22+
justify-content: center;
23+
align-items: center;
24+
padding: 30px;
25+
flex-direction: column;
26+
}
27+
28+
.content-header h1 {
29+
font-size: 4rem;
30+
font-weight: 900;
31+
font-family: var(--primary-font);
32+
letter-spacing: 3px;
33+
}
34+
35+
.content-body h3 {
36+
font-weight: bold;
37+
}
38+
39+
.btn {
40+
margin: 30px;
41+
display: inline-block;
42+
cursor: pointer;
43+
border-radius: 4px;
44+
font-weight: 600;
45+
padding: 0.75em 1em;
46+
transition: none;
47+
position: relative;
48+
background-color: #ff5a79;
49+
color: #fff;
50+
box-shadow: 0 4px #f3002e;
51+
}

index.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Css Components</title>
7+
<link
8+
href="https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap"
9+
rel="stylesheet"
10+
/>
11+
<link
12+
rel="stylesheet"
13+
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
14+
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
15+
crossorigin="anonymous"
16+
/>
17+
<link rel="stylesheet" href="css/style.css" />
18+
</head>
19+
<body>
20+
<section class="header">
21+
<div class="container-fluid section-for-header">
22+
<div class="content">
23+
<div class="content-header">
24+
<h1>CSS COMPONENTS</h1>
25+
</div>
26+
<div class="content-body">
27+
<h3>Add your css Components</h3>
28+
</div>
29+
<div class="content-footer">
30+
<a href="" class="btn">⚡ Github </a>
31+
</div>
32+
</div>
33+
</div>
34+
</section>
35+
<section class="items">
36+
<div class="container-fluid section-for-header"></div>
37+
</section>
38+
</body>
39+
</html>

0 commit comments

Comments
 (0)