CHANGE WEBSITE BACKGROUND COLOR, JUST WRITE ANY BACKGROUND COLOR @Dr Tech
HTML And CSS Cooding
July 12, 2022
HTML COODING
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="bgcolor.css">
</head>
<body onkeyup="document.bgColor=document.f.t.value">
<input type="color" id="a" oninput="b.value=a.value" name="">
<input type="text" id="b" name="" class="color">
<div>
<form name="f">
<input type="text" name="t" id="color"></form></div>
</body>
</html>
CSS COODING
#color
{
position: absolute;
top: 0%;
left: 70%;
border-right: 10px groove red;
border-left: 10px groove yellow;
border-bottom: 10px groove green;
border-top: 10px groove blue;
border-radius: 20%;
font-size: 14px;
text-transform: uppercase;
background: linear-gradient(190deg,skyblue,greenyellow,hotpink);
box-shadow: 5px 5px 10px red;
}
.color
{
position: absolute;
border-right: 10px groove red;
border-left: 10px groove yellow;
border-bottom: 10px groove green;
border-top: 10px groove blue;
border-radius: 20%;
font-size: 14px;
text-transform: uppercase;
background: linear-gradient(190deg,skyblue,greenyellow,hotpink);
box-shadow: 5px 5px 10px red;
}