Live data from Hacker News

Pure CSS Website

pure-css-site.netlify.app

81–90 of 103 posts

Re: Pure CSS Website

#83

I built this website to see what was possible with only one div, and a stylesheet. No JS, No other HTML, just CSS. Source: https://github.com/archiewood/pure-css-site

Cool, is the div necessary? Could you style the ?

Re: Pure CSS Website

#84
You could have saved that background image and use a CSS gradient ;)

edit: nevermind, that's a dead URL. But anyways, it's an extra http request you don't need.

Re: Pure CSS Website

#86
I like those! What I would like to see is the source code of CAPTCHAs (that generates the CSS) used by onion websites like Dread. There are CSS-only modals, too.

Re: Pure CSS Website

#88
Interesting and well done!

I have an extension that adds a div to the page, Grammalecte, its breaks this website a bit. A div:first-child, or an id would fix it.

A reminder that extensions can affect HTML content and you need to target your elements in CSS in a robust way.

Re: Pure CSS Website

#90
post #3

I built this website to see what was possible with only one div, and a stylesheet. No JS, No other HTML, just CSS. Source: https://github.com/archiewood/pure-css-site

After examples showcased at https://a.singlediv.com/ , I would not be surprised by anything...

Aaah that one was great, thank you for reminding!
Post reply on HN