4 ms·
Entirely random question, but is the CSS used to generate the homepage completely custom, or off a preset like Bootstrap? Looks quite nice.
by fomojola 15y ago
Entirely random question, but is the CSS used to generate the homepage completely custom, or off a preset like Bootstrap? Looks quite nice.
- Zikes 15y agoI just did a view source to see if I could determine that and found some interesting results. It does appear to be custom CSS, and very minimal, but what surprised me was that the HTML was as minimal as possible as well. There are no HTML, HEAD, or BODY tags. Maybe not technically valid, but an interesting way to save a few bytes.
- orftz 15y agoIt is valid HTML5. <html>, <head> and <body> will be inserted by any HTML5-compliant browser while constructing the DOM. However, it'll result in a broken page if parsed by an old browser. See http://stackoverflow.com/questions/5641997/is-it-necessary-to-write-head-body-and-html-tags http://stackoverflow.com/questions/5641997/is-it-necessary-t...
- jurre 15y agoAs mentioned by orftz it is valid HTML5, but what I did find interesting is that the footer is being inserted with javascript, does anyone know the reason for that?
- Zikes 15y agoMy best guess is that it becomes a client-side include, making it easier to change one file and propagate out to all the pages without any server-side processing. Seems a bit silly for so small a thing, though.
- deleted 15y ago[deleted]