This commit is contained in:
Cadey Ratio 2018-12-18 00:05:03 -08:00
parent 267e02c337
commit 14c22361a2
1 changed files with 22 additions and 0 deletions

View File

@ -9,3 +9,25 @@ for: the lols
I have very terribly added snow to this website for the holidays. See [the CSS](/css/snow.css) for how I did this, it's really low-tech. Feel free to steal this trick, it is low-effort for maximum niceness. I have the `background-color` of the `snowframe` class identical to the `background-color` of the main page. This and `opacity: 1.0` seems to be the ticket. I have very terribly added snow to this website for the holidays. See [the CSS](/css/snow.css) for how I did this, it's really low-tech. Feel free to steal this trick, it is low-effort for maximum niceness. I have the `background-color` of the `snowframe` class identical to the `background-color` of the main page. This and `opacity: 1.0` seems to be the ticket.
Happy holidays, all. Happy holidays, all.
---
More detailed usage:
```
<html>
<head>
<link rel="stylesheet" href="/css/snow.css" />
</head>
<body class="snow">
<div class="container">
<div class="snowframe">
<!-- The rest of your page here -->
</div>
</div>
</body>
</html>
```
Then you should have content not being occluded by snow.