Search

Post types:
Categories:
🔖

HTML kitchen sink

Read Note

Daniel has created an extremely useful HTML template that includes most common elements, perfect for kickstarting a CSS design scheme, and all in a handy GitHub …

🔖

HTML web components

Read Note

An excellent look into the new trend of no-or-low-JavaScript web components, which almost operate more like HTML fragments, with graceful fallbacks to native elements. Jeremy proposes terming these …

🔖

Six common html myths

Read Note

A list of common misconceptions about HTML, with lots of excellent detail about how HTML parsers actually …

Published:
Categories:
  • HTML & CSS
  • Frontend
Tags:
🔖

Bidirectional text in HTML

Read Note

Today's obscure HTML element: <bdi>. It stands for "bidirectional" and refers to text that can include both RTL and LTR languages (does not appear to care about other …

🔖

The unreasonable effectiveness of simple HTML

Read Note

An ideal anecdote for why HTML should remain the prioritised foundation of any website and how progressive enhancement is an absolute necessity if you're working on critical digital infrastructure …

🔖

When to use <meter>

Read Note

A solid example of where HTML semantics can be a little problematic: the <meter> element. Also a good overview of where/when this element is …

🔖

The perfect block link solution

Read Note

An interesting look at a "block links" at "card links": when you want large sections of HTML to be one big clickable link. It's a very common pattern and something I've done a lot, but …

🔖

How to use tabindex

Read Note

Great overview on when/when not to use the tabindex attribute. Most of it feels like common sense, but the recommendation for overflow content is an interesting one I'd not come across …

📖

Pass API Data to the Stylesheet with CSS Variables

Read Article

I keep running into the same problem: how to set a style attribute in the CMS and have that be dynamically rendered on the front-end, without relying on inline styles. Turns out it's a great use case for CSS variables!

🔖

The front-end developer handbook 2019

Read Note

It's not so much a resource as a resource of resources; a meta resource. Providing high-level overviews of complex topics and then linking out to more detailed deep dives or explanations (not all …

Published:
Categories:
  • HTML & CSS
  • Frontend
  • JavaScript
Tags:
🔖

Noopener, noreferrer, and nofollow explained

Read Note

I can never remember what the differences are between noopener, noreferrer, and nofollow, or when best to use them, so here's a handy guide that covers pretty much all of the …

🔖

Oh, embed!

Read Note

YouTube embeds can be expensive on page load metrics, but what alternative is there? How about loading a thumbnail that hot-swaps itself for an <iframe> when clicked? Sounds great, but wouldn't …

🔖

CSS only carousel

Read Note

Carousels are the devil's work, but they remain incredibly useful and popular UI elements 😑 Having a solid implementation that will work without JavaScript, making it more lightweight and …

🔖

Submitting a form with datalist

Read Note

The <datalist> element is super useful for autocomplete-like functionality, but there's no native way to automatically submit a form when an option is selected. Jeremy has come up with a neat …

🔖

Firefox and SVG fill for CSS

Read Note

I ran into a bug recently where some SVGs on a website were seemingly ignoring a fill request. A quick check in dev tools showed that the CSS was being applied so... what gives? Turns out …

🔖

Multicoloured text highlighting in cSS

Read Note

A clever UX idea discovered on Pink News: each paragraph of text has a different highlight colour, so as you select parts of an article to copy elsewhere it reveals the LGBTQA+ flag. They're using …

🔖

SVG crop

Read Note

An absolutely fantastic little utility site that takes pretty much any SVG and removes all of the white space. You can drag'n'drop, upload image files, or just paste markup directly into a text …