LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code



    
    Title
    


CSS
body {
    height: 10000px;
}

div.container {
    border: 10px solid rebeccapurple;
    margin: 100px auto;
}

div.head {
    width: 200px;
    height: 200px;
    background-color: powderblue;
    margin: auto;
    border-radius: 50%;
    position: relative;
}

div.eye1 {
    width: 30px;
    height: 30px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    left: 35px;
    top: 35px;

}

div.eye2 {
    width: 30px;
    height: 30px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    right: 35px;
    top: 35px;
    opacity: 1;
    filter: alpha(opacity=100);

}

div.nose {
    width: 5px;
    height: 50px;
    background-color: black;
    position: absolute;
    top: 75px;
    left: 97.5px;
}

div.mouth {
    width: 50px;
    height: 8px;
    background-color: black;
    position: absolute;
    bottom: 30px;
    left: 75px;
}

div.eye2:hover {
    opacity: 0.5;
    filter: alpha(opacity=100);
}
Term
Sat, 04/14/2018 - 20:47

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv