Monday, October 26, 2020

Website Template Css

 body{

    box-sizingborder-box;
    margin0;
    padding0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans''Helvetica Neue'sans-serif;
}

body::before{
    content"";
    backgroundurl('Images/back5.jpg'no-repeat center center/cover;
    positionabsolute;
    height100vh;
    width100%;
    z-index-1;
    opacity0.95;
}

.navbar{
    displayflex;
    flex-directionrow;
    justify-contentspace-between;
    border-radius5px;
    padding-top20px;
    z-index1;
    transition:  display 0.5s;
}

.navbar ul{
    displayflex;
    flex-directionrow;
    justify-contentspace-around;
    list-stylenone;
}

.navbar ul li a{
    text-decorationnone;
    font-size20px;
    colorwhite;
    font-weightbold;
    font-familycursive;
    margin-left50px;
    padding5px;
    border2px solid white;
    border-radius8px;
}

.navbar ul li a:hover{
    background-colorrgb(21210212);
    colorblack;
}

.navbar .searchbar {
    widthmin-content;
    max-width500px;
    margin-right50px;
    displayflex;
    align-itemscenter;
}

.navbar .searchbar input {
    width400px;
    font-size15px;
    border-radius5px;
    outlinenone;
    background-colorblack;
    colorwhite;
    font-weightbold;
    border2px solid white;
}

.navbar .searchbar input:focus {
    width500px;
}

.main-container{
    height500px;
    margin-top20px;
    displayflex;
    justify-contentcenter;
    align-itemscenter;
    flex-directioncolumn;
    colorwhite;
}

.main-container .header{
    font-size30px;
    colorrgb(2422124);
}

.main-container .header-button .getStarted{
    background-colorrgb(2069140);
    font-size25px;
    outlinenone;
    colorwhite;
    padding10px;
    width200px;
    border-radius5px;
}
.main-container .header-button .getStarted:hover{
    background-colorrgb(122684);
    border-radius10px;
  
}

No comments:

Post a Comment