Skip to content
Permalink
348274207c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
92 lines (70 sloc) 1.28 KB
*{
margin: 0;
padding:0;
}
.wrapper{
width:1170px;
margin: auto;
}
header{
background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url(images/cool.png);/* color changes from left to right*/
height: 100vh;
background-size: cover;
background-position: center;
position: relative;
}
.nav-area{
float:right;
list-style:none;
margin-top: 30px;
}
.nav-area li{
display: inline-block;
}
.nav-area li a{
color:white;
text-decoration: none;
padding: 5px 20px;
font-family:'Roboto', sans-serif;
font-size: 25px;
transition: 0.8s;
}
.nav-area li a:hover{
background:white;
color:#333;
}
.logo img{
width: 200px;
float:left;
height: auto;
}
.welcome-text{
position: absolute;
width:600px;
height: 300px;
margin:20% 30%;
text-align: center;
}
.welcome-text h1{
text-align: center;
color:white;
font-size:120px;
font-family: 'Acme', sans-serif;
}
.welcome-text a{
border: 1px solid white;
padding:10px 25px;
text-decoration: none;
font-size:30px;
margin-top:20px;
display: inline-block;
color:white;
transition: 0.7s;
}
.welcome-text a:hover{
background:lightgrey;
color:blue;
}
body{
overflow-y:hidden;
}