HTML Learning (File Name :- StyleMFW) (File type :- CSS)
body {
background-image: linear-gradient(to bottom right, #F8F8FF, #00BFFF);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
figcaption {
color: #FFFFFF;
background-color: #000000;
font-size: 15px;
width: 200px;
text-align: center;
}
#txt {
font-size: 20px;
font-weight: bold;
}
#s1 {
font-size: 25px;
color: #0000FF;
font-weight: bold;
}
#hd {
color: #FF0000;
font-size: 20px;
font-weight: bold;
}
#cc {
font-size: 20px;
text-align: center;
font-weight: bold;
background-color: #FFFFFF;
width: 100;
}
#hyperlinks {
display: none;
}
#rctxt {
font-weight: bold;
color: #FFFFFF;
position: relative;
transform: translate(5px, 25px);
}
#rc01 {
border-radius: 20px;
border: 2px solid #73AD21;
height: 100px;
width: 150px;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc02 {
border-radius: 20px;
background-color: #73AD21;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc03 {
border-radius: 20px;
background-image: url(https://wallpapercave.com/wp/wp7312733.jpg);
background-size: 100%;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc11 {
border-radius: 20px 0px 0px 0px;
border: 2px solid #73AD21;
height: 100px;
width: 150px;
font-size: 20px;
font-weight: bold;
text-align: center;
}
#rc12 {
border-radius: 20px 0px 0px 0px;
background-color: #73AD21;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc13 {
border-radius: 20px 0px 0px 0px;
background-image: url(https://wallpapercave.com/wp/wp7312733.jpg);
background-size: 100%;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc21 {
border-radius: 0px 20px 0px 0px;
border: 2px solid #73AD21;
height: 100px;
width: 150px;
font-size: 20px;
font-weight: bold;
text-align: center;
}
#rc22 {
border-radius: 0px 20px 0px 0px;
background-color: #73AD21;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc23 {
border-radius: 0px 20px 0px 0px;
background-image: url(https://wallpapercave.com/wp/wp7312733.jpg);
background-size: 100%;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc31 {
border-radius: 0px 0px 20px 0px;
border: 2px solid #73AD21;
height: 100px;
width: 150px;
font-size: 20px;
font-weight: bold;
text-align: center;
}
#rc32 {
border-radius: 0px 0px 20px 0px;
background-color: #73AD21;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc41 {
border-radius: 0px 0px 0px 20px;
border: 2px solid #73AD21;
height: 100px;
width: 150px;
font-size: 20px;
font-weight: bold;
text-align: center;
}
#rc42 {
border-radius: 0px 0px 0px 20px;
background-color: #73AD21;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc33 {
border-radius: 0px 0px 20px 0px;
background-image: url(https://wallpapercave.com/wp/wp7312733.jpg);
background-size: 100%;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
background-color: #73AD21;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc43 {
border-radius: 0px 0px 0px 20px;
background-image: url(https://wallpapercave.com/wp/wp7312733.jpg);
background-size: 100%;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc51 {
border-radius: 20px 20px 0px 0px;
border: 2px solid #73AD21;
height: 100px;
width: 150px;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc52 {
border-radius: 20px 20px 0px 0px;
background-color: #73AD21;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc53 {
border-radius: 20px 20px 0px 0px;
background-image: url(https://wallpapercave.com/wp/wp7312733.jpg);
background-size: 100%;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc61 {
border-radius: 0px 20px 20px 0px;
border: 2px solid #73AD21;
height: 100px;
width: 150px;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc62 {
border-radius: 0px 20px 20px 0px;
background-color: #73AD21;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#rc63 {
border-radius: 0px 20px 20px 0px;
background-image: url(https://wallpapercave.com/wp/wp7312733.jpg);
background-size: 100%;
height: 100px;
width: 150px;
color: #FFFFFF;
font-size: 20px;
text-align: center;
font-weight: bold;
}
#img0 {
width: 200px;
height: 200px;
}
#otxt {
font-weight: bold;
position: absolute;
transform: translate(80px, 80px);
}
#trtxt {
font-weight: bold;
color: #FFFFFF;
position: relative;
transform: translate(10px, 15px);
}
#tr1 {
height: 50px;
width: 50px;
font-weight: bold;
color: #FFFFFF;
text-align: center;
background-color: #FF0000;
border-radius: 5px 5px 5px 5px;
transition: 2s;
}
#tr1:hover {
height: 200px;
width: 200px;
background-color: #73AD21;
border-radius: 25px 25px 25px 25px;
}
#tr2 {
height: 50px;
width: 50px;
font-weight: bold;
color: #FFFFFF;
text-align: center;
background-color: #FF0000;
border-radius: 5px 5px 5px 5px;
transition: 2s, transform 2s;
}
#tr2:hover {
height: 200px;
width: 200px;
background-color: #73AD21;
transform: rotate(360deg);
}
#tr3 {
height: 50px;
width: 50px;
font-weight: bold;
color: #FFFFFF;
text-align: center;
background-color: #FF0000;
border-radius: 5px 5px 5px 5px;
}
#tr3:hover {
transform: rotate3d(0, 1, 0, 180deg);
transition-duration: 3s;
}
#tr4 {
height: 50px;
width: 50px;
font-weight: bold;
color: #ffffff;
text-align: center;
background-color: #FF0000;
border-radius: 5px 5px 5px 5px;
}
#tr4:hover {
transform: rotate3d(1, 0, 0, 180deg);
transition-duration: 3s;
}
#hc {
position: relative;
width: 100%;
}
#overlay1 {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: 1s;
background-color: #73AD21;
}
#hc:hover #overlay1 {
opacity: 1;
}
#atxt {
font-weight: bold;
position: relative;
}
#atrtxt {
font-weight: bold;
color: #FFFFFF;
position: absolute;
transform: translate(5px, 15px);
}
#ani1 {
height: 200px;
width: 200px;
background-color: #FFFF00;
animation-duration: 3s;
animation-name: ani1;
}
@keyframes ani1 {
from {
background-color: #FFFF00;
}
to {
background-color: #00FF00;
}
}
#ani2 {
height: 200px;
width: 200px;
background-color: #FFFF00;
animation-duration: 3s;
animation-name: ani2;
animation-iteration-count: infinite;
}
@keyframes ani2 {
from {
background-color: #FFFF00;
}
to {
background-color: #00FF00;
}
}
#ani3 {
height: 200px;
width: 200px;
background-color: #FF0000;
animation-duration: 3s;
animation-name: ani3;
animation-delay: 2s;
}
@keyframes ani3 {
from {
background-color: #FF0000;
}
to {
background-color: #00FF00;
}
}
#ani4 {
height: 200px;
width: 200px;
background-color: #FFFF00;
animation-duration: 3s;
animation-delay: 2s;
animation-name: ani4;
animation-iteration-count: infinite;
}
@keyframes ani4 {
from {
background-color: #FFFF00;
}
to {
background-color: #00FF00;
}
}
#ani5 {
height: 200px;
width: 200px;
background-image: linear-gradient(to bottom left, #FF0000, #FFFF00);
animation-duration: 3s;
animation-name: ani5;
animation-iteration-count: infinite;
}
@keyframes ani5 {
0% {
background-image: linear-gradient(to bottom left, #FF0000, #FFFF00);
}
5.5% {
background-image: linear-gradient(to bottom left, #FF0000 26%, #FFFF00);
}
11% {
background-image: linear-gradient(to bottom left, #FF0000 32%, #FFFF00);
}
16.5% {
background-image: linear-gradient(to bottom left, #FF0000 38%, #FFFF00);
}
22% {
background-image: linear-gradient(to bottom left, #FF0000 44%, #FFFF00);
}
27.5% {
background-image: linear-gradient(to bottom left, #FF0000 50%, #FFFF00);
}
33% {
background-image: linear-gradient(to bottom left, #FFFF00 4%, #FF0000);
}
38.5% {
background-image: linear-gradient(to bottom left, #FFFF00 8%, #FF0000);
}
44% {
background-image: linear-gradient(to bottom left, #FFFF00 12%, #FF0000);
}
49.5% {
background-color: #FF0000;
}
55% {
background-image: linear-gradient(to bottom left, #FFFF00 16%, #FF0000);
}
61.5% {
background-image: linear-gradient(to bottom left, #FFFF00 20%, #FF0000);
}
67% {
background-image: linear-gradient(to bottom left, #FFFF00 26%, #FF0000);
}
72.5% {
background-image: linear-gradient(to bottom left, #FFFF00 32%, #FF0000);
}
78% {
background-image: linear-gradient(to bottom left, #FFFF00 38%, #FF0000);
}
83.5% {
background-image: linear-gradient(to bottom left, #FFFF00 44%, #FF0000);
}
89% {
background-image: linear-gradient(to bottom left, #FFFF00 50%, #FF0000);
}
94.5% {
background-image: linear-gradient(to bottom left, #FFFF00 50%, #FF0000);
}
100% {
background-color: #FFFF00;
}
}
#ani6 {
height: 50px;
width: 50px;
margin-bottom: 100px;
background-color: #73AD21;
border-radius: 5px 5px 5px 5px;
animation-name: ani6;
animation-duration: 4s;
animation-iteration-count: infinite;
}
@keyframes ani6 {
0% {
transform: rotate(0deg);
}
12.5% {
transform: rotate(45deg);
}
25% {
transform: rotate(90deg);
}
37.5% {
transform: rotate(135deg);
}
50% {
transform: rotate(180deg);
}
62.5% {
transform: rotate(225deg);
}
75% {
transform: rotate(270deg);
}
87.5% {
transform: rotate(315deg);
}
100% {
transform: rotate(360deg);
}
}
#ani7 {
height: 50px;
width: 50px;
margin-bottom: 150px;
margin-left: -100px;
background-color: #73AD21;
border-radius: 5px 5px 5px 5px;
animation-name: ani7;
animation-duration: 4s;
animation-iteration-count: infinite;
}
@keyframes ani7 {
0% {
transform: rotate(0deg);
transform-origin: left;
}
12.5% {
transform: rotate(45deg);
transform-origin: left;
}
25% {
transform: rotate(90deg);
transform-origin: left;
}
37.5% {
transform: rotate(135deg);
transform-origin: left;
}
50% {
transform: rotate(180deg);
transform-origin: left;
}
62.5% {
transform: rotate(225deg);
transform-origin: left;
}
75% {
transform: rotate(270deg);
transform-origin: left;
}
87.5% {
transform: rotate(315deg);
transform-origin: left;
}
100% {
transform: rotate(360deg);
transform-origin: left;
}
}
#ani8 {
height: 200px;
width: 200px;
background-image: url(https://wallpaperaccess.com/full/1209562.jpg);
background-repeat: no-repeat;
background-size: 100%;
animation-name: ani8;
animation-duration: 4s;
animation-iteration-count: infinite;
}
@keyframes ani8 {
from {
background-image: url(https://wallpaperaccess.com/full/1209562.jpg)
}
to {
background-image: url(https://wallpaperaccess.com/full/271965.jpg)
}
}
#ani9 {
height: 200px;
width: 133px;
background-size: 100%;
background-repeat: no-repeat;
animation-name: ani9;
animation-duration: 6s;
animation-iteration-count: infinite;
}
@keyframes ani9 {
0% {
background-image: url(https://images.unsplash.com/photo-1531604250646-2f0e818c4f06?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8MjB8fHxlbnwwfHx8fA%3D%3D&w=1000&q=80.jpg);
}
20% {
background-image: url(https://images.unsplash.com/photo-1500245804862-0692ee1bbee8?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8MTh8fHxlbnwwfHx8fA%3D%3D&w=1000&q=80.jpg);
}
40% {
background-image: url(https://images.unsplash.com/photo-1550573079-b12f15bbfc8c?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8Mjl8fHxlbnwwfHx8fA%3D%3D&w=1000&q=80.jpg);
}
60% {
background-image: url(https://images.unsplash.com/photo-1531604250646-2f0e818c4f06?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8MjB8fHxlbnwwfHx8fA%3D%3D&w=1000&q=80.jpg);
}
80% {
background-image: url(https://images.unsplash.com/photo-1500245804862-0692ee1bbee8?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8MTh8fHxlbnwwfHx8fA%3D%3D&w=1000&q=80.jpg);
}
100% {
background-image: url(https://images.unsplash.com/photo-1550573079-b12f15bbfc8c?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8Mjl8fHxlbnwwfHx8fA%3D%3D&w=1000&q=80.jpg);
}
}
#ani10 {
width: 200px;
height: 200px;
background-color: #FF0000;
position: relative;
animation-name: ani10;
animation-duration: 4s;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes ani10 {
0% {
background-color: #FF0000;
left: 0px;
top: 0px;
}
25% {
background-color: #FFFF00;
left: 200px;
top: 0px;
}
50% {
background-color: #0000FF;
left: 200px;
top: 100px;
}
75% {
background-color: #00FF00;
left: 0px;
top: 100px;
}
100% {
background-color: #FF0000;
left: 0px;
top: 0px;
}
}
#ani11 {
height: 50px;
width: 50px;
border-radius: 5px 5px 5px 5px;
position: relative;
animation-name: ani11;
animation-duration: 4s;
animation-iteration-count: infinite;
}
@keyframes ani11 {
0% {
transform: rotate(0deg);
left: 0px;
background-color: #FF0000
}
25% {
transform: rotate(90deg);
left: 25px;
}
50% {
transform: rotate(180deg);
left: 50px;
background-color: #00FF00
}
75% {
transform: rotate(270deg);
left: 75px;
}
100% {
transform: rotate(360deg);
left: 100px;
background-color: #0000FF
}
}
#ani12 {
height: 50px;
width: 50px;
position: relative;
margin-left: -200px;
background-color: #73AD21;
border-radius: 5px 5px 5px 5px;
animation-name: ani12;
animation-duration: 10s;
animation-iteration-count: infinite;
}
@keyframes ani12 {
0% {
transform: rotate(0deg);
left: 0px;
}
20% {
transform: rotate(60deg);
left: 150px;
background-color: #FF0000;
}
40% {
transform: rotate(0deg);
left: 150px;
background-color: #FF3399;
}
60% {
transform: rotate(360deg);
left: 150px;
background-color: #FFFF00;
}
80% {
transform: rotate(300deg);
left: 0px;
background-color: #EE82EE;
}
100% {
transform: rotate(360deg);
left: 0px;
}
}
#ani13 {
height: 200px;
width: 200px;
position: relative;
margin-left: -200px;
margin-bottom: -120px;
background-image: url(https://freepngimg.com/thumb/windows/24179-7-windows-transparent-background-image.png);
background-size: 100px;
background-repeat: no-repeat;
animation-name: ani13;
animation-duration: 10s;
animation-iteration-count: infinite;
}
@keyframes ani13 {
0% {
top: 0px;
left: 0px;
}
20% {
top: 50px;
left: 30px;
}
50% {
top: 0px;
left: 100px;
}
75% {
top: -70px;
left: 70px;
}
100% {
top: 0px;
left: 0px;
}
}
#fani13 {
height: 200px;
width: 200px;
background-color: #000000;
}
#ib1 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: multiply;
}
#ib2 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: screen;
}
#ib3 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: overlay;
}
#ib4 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: darken;
}
#ib5 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: lighten;
}
#ib6 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: soft-light;
}
#ib7 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: hard-light;
}
#ib8 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: color-dodge;
}
#ib9 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: saturation;
}
#ib10 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: color;
}
#ib11 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: luminosity;
}
#ib12 {
height: 200px;
width: 200px;
background-image: url(https://static.vecteezy.com/system/resources/thumbnails/000/588/660/small/blurrbackground7-01.jpg), url(https://static.vecteezy.com/system/resources/thumbnails/000/204/051/small/abstract-gradient-background.jpg);
background-blend-mode: color-burn;
}