Tag “HTML”
-
DOM Trees and Focus Order
6 Jan 2024
Sometimes it is hard to determine which element to focus. This post provides you with a specific tool to make your choice of candidates wider than just the body or “whatever the browser does”.
-
Easy Theming with OKLCH colors
2 Jan 2024
There is a new kid on the block with CSS colors. OKLCH is all the rave. We can use it together with CSS custom properties to add easy color themes to our CSS styles.
-
Learning HTML
8 Mar 2012
In January 2011 a user at StackOverflow asked, if he should start learning HTML5 / CSS 3 or begin with the older versions. In quite a length I answered the question by explaining my way to web development over the years. I think, that the answer might serve others well, too, who seek a way to start with web development. Since the original question was just recently closed as “not constructive”, I’m putting the answer here for others to read.
-
On Replacing Checkboxes and Radio Buttons with CSS3 and w/o Images
13 Jun 2011
There are several techniques to replace native checkboxes with images. This approach will need no extra markup, degrades gracefully and doesn’t harm a single image.
-
HTML5 Reset Styles
2 May 2011
The HTML5 specification lists default CSS rules. The article describes how to revert these.
-
Markup for Syntax Highlighting
28 Apr 2011
The article describes a way to mark up syntax highlighted source code with a simple pre element while retaining the advantages of other solutions.
-
Website Thumbnails with CSS
14 Dec 2010
A thumbnail view of a website is meanwhile a common sight. Google has recently introduced it in its search results page, and numerous ad services offer more or less annoying tool tips with page previews. What all these i…