File tree Expand file tree Collapse file tree 3 files changed +96
-0
lines changed Expand file tree Collapse file tree 3 files changed +96
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < title > Startup</ title >
5
+ <!-- Required meta tags (mobile first - responsive-->
6
+ < meta charset ="utf-8 ">
7
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8
+
9
+ <!-- Google Fonts -->
10
+ < link href ="https://fonts.googleapis.com/css?family=Montserrat " rel ="stylesheet ">
11
+
12
+ <!-- Bootstrap CSS from a CDN. This way you don't have to include the bootstrap file yourself -->
13
+ < link rel ="stylesheet " href ="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css " integrity ="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T " crossorigin ="anonymous ">
14
+
15
+ <!-- Your own stylesheet -->
16
+ < link rel ="stylesheet " type ="text/css " href ="style.css ">
17
+ </ head >
18
+ < body >
19
+ < div class ="container d-flex align-items-center h-100 ">
20
+ < div class ="row ">
21
+
22
+ < header class ="text-center cl-12 ">
23
+
24
+ <!--this is a bootstrap class -->
25
+ < h1 class ="text-uppercase "> < strong > The Biggest Startup Event of the Year</ strong > </ h1 >
26
+ </ header >
27
+
28
+ < div class ="buffer col-12 "> </ div >
29
+
30
+ < section class ="text-center col-12 ">
31
+
32
+ <!-- hr horizontal line -->
33
+ < hr >
34
+ <!--bootstrap class (btn-xl not bootstrap)-->
35
+ < a href ="https://mailchi.mp/d1e5f0a6828b/mystartup ">
36
+ < button class ="btn btn-primary btn-xl "> Find Out More</ button >
37
+ </ a >
38
+ </ section >
39
+
40
+ </ div >
41
+ </ div >
42
+ </ div >
43
+ </ body >
44
+ </ html >
Original file line number Diff line number Diff line change
1
+ body ,
2
+ html {
3
+ width : 100% ;
4
+ height : 100% ;
5
+ font-family : 'Montserrat' , sans-serif;
6
+ background : url (header.jpg) no-repeat center center fixed; /*background image from CSS Tricks*/
7
+ -webkit-background-size : cover;
8
+ -moz-background-size : cover;
9
+ -o-background-size : cover;
10
+ background-size : cover;
11
+ }
12
+
13
+ h1 {
14
+ font-size : 3rem ;
15
+ color : # e2dbdb ;
16
+ }
17
+
18
+ /*bootstrap 5 for higher*/
19
+ hr {
20
+ margin : 20px auto;
21
+ color : # F05F44 ;
22
+ border : 3px solid # F05F44 ;
23
+ max-width : 65px ;
24
+ opacity : 1 ;
25
+ }
26
+
27
+ /*Space height between button and header*/
28
+ .buffer {
29
+ height : 10rem ;
30
+ }
31
+
32
+ .btn {
33
+ font-weight : 700 ;
34
+ border-radius : 300px ;
35
+ text-transform : uppercase;
36
+ }
37
+
38
+ .btn-primary {
39
+ background-color : # F05F44 ;
40
+ border-color : # F05F44 ;
41
+ }
42
+
43
+ .btn-primary : hover {
44
+ background-color : # ee4b08 ;
45
+ border-color : # ee4b08 ;
46
+ border-width : 4px ;
47
+ }
48
+
49
+ /*custom defined btn-xl*/
50
+ .btn-xl {
51
+ padding : 1rem 2rem ;
52
+ }
You can’t perform that action at this time.
0 commit comments