eng
competition

Text Practice Mode

CSS training

created Dec 4th 2020, 10:41 by samsoft dz


0


Rating

162 words
0 completed
00:00
 
* {
    box-sizing: border-box;
}
body{
    margin: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
 
.title-big {
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 300;
    background: grey;
    position: fixed;
    top: 0px; left: 0; right: 0;
    padding: 20px 20px;
    z-index: 3;
}
.header {
    background: grey;
    /*background: linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.5));*/
    padding: 20px;
    height: auto;
    color: white;
}
 
.header-nav {
    margin: 20px 0px;
    position: fixed;
    top: 20px;
 
    left: 0;
    right: 0;     
    /*background: rgb(135, 194, 81);*/
    text-align: right;
    z-index: 4;
     
}
.header-nav a{
    padding: 0px 10px;
    text-decoration: none;
    background-color: rgba(255,255,255,0.1);
    color: inherit;
}
.header-nav a:hover {
    text-decoration: underline;
    background-color: rgba(255,255,255,0.3);
 
}
.header img{
    width: 100%;
    height: auto;
}    
 
.main {
    background: lightgrey;
    padding: 20px;
    text-transform: capitalize;
}
.main p {
    text-justify: auto;
    text-indent: 40px;
}
.float-align-left {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}
.float-align-right {
    float: right;
    margin-right: 15px;
    margin-bottom: 15px;
}
hr {
    clear: both;
}
.main p:first-of-type::first-letter {
    font-weight: bold;
    font-size: 30px;
}
 
.footer {
    background: grey;
    clear: both;
    padding: 10px 20px;
}
 

saving score / loading statistics ...