home background image to webp

This commit is contained in:
Rohan Sircar 2020-06-20 15:21:49 +05:30
parent 3822e9fb3c
commit 6b15e9c9b7

View File

@ -1,44 +1,27 @@
/* .myClass {
color: red;
} */
/* https://arcusiridis.com/images/background.jpg */
body { body {
background: #333; background: #333;
color: #ffffff; color: #ffffff;
/* background-image: url('https://bluestnight.com/images/background_lg.jpg'); */
} }
/* #body-container {
margin: 0 auto 0 auto;
max-width: 80%;
vertical-align: auto;
}
*/
input[type="radio"] { input[type="radio"] {
/*position:fixed;*/
opacity: 0; opacity: 0;
} }
input[type=radio]+label { input[type="radio"] + label {
font-weight: normal; font-weight: normal;
} }
input[type=radio]:checked+label { input[type="radio"]:checked + label {
font-weight: bold; font-weight: bold;
background-color: #566069; background-color: #566069;
} }
input[type=radio]:focus+label { input[type="radio"]:focus + label {
border: 1px dotted #000; border: 1px dotted #000;
} }
#home-section { #home-section {
background-image: url('../img/home.jpg'); background-image: url("../img/home.webp");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
background-attachment: fixed; background-attachment: fixed;
@ -52,7 +35,6 @@ input[type=radio]:focus+label {
/* background: #333; */ /* background: #333; */
} }
/* #home-section .card-form { /* #home-section .card-form {
opacity: 0.8; opacity: 0.8;
} */ } */
@ -100,7 +82,6 @@ textarea {
min-height: 300px; min-height: 300px;
} }
/* .container { /* .container {
width: 50%; width: 50%;
} */ } */
@ -109,7 +90,6 @@ textarea {
width: 80%; width: 80%;
} }
/* #login-card { /* #login-card {
width: 40%; width: 40%;
} */ } */