#div css element not loading
1 messages · Page 1 of 1 (latest)
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Website</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<body>
<div id="box1">hi</div>
</body>
</html>
style.css
#box1{
border:4px solid;
width:250px;
height:250px;
font-size: 225px;
text-align: center;
background:lightskyblue;
transform:rotatez(45deg);
}
how to get that?
is that just my site link?
yes
for first timei load site everything is normal but wen i change something css dosent update
on local
style.css
#box1{
border:4px solid;
width:250px;
height:250px;
font-size: 225px;
text-align: center;
background:lightskyblue;
transform:rotatez(0deg);
}
#box2{
border:4px solid;
width:250px;
height:250px;
font-size: 225px;
text-align: center;
background:lightskyblue;
transform:rotatez(-45deg);
}
it should be "MISS"?
just purge everything everytime you change something
or write a cache rule to disable the cache
even wen i purge eveerything css dosent update
just use this
your browser could also be caching it
try doing shift-ctrl-r instead of just ctrl-r to clear cache
finaly it worked