html edit, style sheet, images
parent
e4e79be649
commit
d85330b214
Binary file not shown.
After Width: | Height: | Size: 7.3 MiB |
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
Binary file not shown.
After Width: | Height: | Size: 4.6 MiB |
Binary file not shown.
After Width: | Height: | Size: 7.4 MiB |
@ -0,0 +1,53 @@
|
||||
html {
|
||||
position: relative; /* Make the html element a positioned parent */
|
||||
}
|
||||
|
||||
html::before { /* Add a pseudo-element to the html element */
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1; /* Set a negative z-index to move the pseudo-element below the content */
|
||||
background: url(bg-images/bg1.jpg) no-repeat center center fixed;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
|
||||
/* Add animation properties */
|
||||
-webkit-animation: spin 100s linear infinite;
|
||||
-moz-animation: spin 100s linear infinite;
|
||||
-ms-animation: spin 100s linear infinite;
|
||||
-o-animation: spin 100s linear infinite;
|
||||
animation: spin 100s linear infinite;
|
||||
}
|
||||
|
||||
/* Define the spin animation */
|
||||
@keyframes spin {
|
||||
from {
|
||||
-webkit-transform: rotate(0deg);
|
||||
-moz-transform: rotate(0deg);
|
||||
-ms-transform: rotate(0deg);
|
||||
-o-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
-webkit-transform: rotate(360deg);
|
||||
-moz-transform: rotate(360deg);
|
||||
-ms-transform: rotate(360deg);
|
||||
-o-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue