File is: blank.html
If I try to color blend the body, the page becomes lined.
If I leave it as a <div> then it works fine...
code:
html:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="common.css"
</head>
<body>
<div><p style="text-align: center;">Here we go<br> A short look at wolverines<br> not the damn cartoon character<br>I mean the vicous little beasts that will take on great odds to defend their territory<br>or just for the hell of it<br>The Irish and Scottish of the beast world</p></div>
</body>
</html>
common.css:
body { margin:0 auto; background: #4dc3ff;}
div {
min-width: 80vh: min-height: 80vh; max-width: 90vw; max-height: 90vh;
color: white;
background: linear-gradient(to bottom right, #3333ff 0%, #990000 100%)
}
No comments:
Post a Comment