HTML and XHTML both impose rules on which elements can be contained within which other elements. The definitive guide to these rules are the various DTDs (Document Type Definitions) that govern the different flavours of HTML. Unfortunately, DTDs aren’t exactly friendly to read. Enter Cameron Adams’ brilliant DTD Mapper, which presents an easily navigated tree style view of a DTD and makes it easy to see which elements are allowed where. Cameron’s blog entry has more.
Plenty has been written about the CSS Box Model (I made my own attempt at explaining it last year) but it’s rare for anyone to discuss the way in which the layers of the box model interact in the third dimension. Jon Hicks has published a beautiful diagram of the 3D CSS Box Model which neatly demonstrates this little documented aspect of CSS.
I’m pretty terrible at picking colour schemes, but thankfully the web is overflowing with tools to make it easier. My favourite is still Eric Meyer’s Color Blender which calculates a number of mid points between two colours, but Pixy’s impressive Color Scheme is very useful as well. Dave Shea’s recent article on Colour Schemes has some good tips, and Andy Clarke has some useful tips on creating a consistent palette using Macromedia Fireworks (though his technique could easily be ported to other applications).
Using Redis with Node.js
By Ivaylo Gerchev,
Need fast data interactions in your Node app? Learn how Redis speeds caching, message brokering, sessions, analytics, streaming and more.
Build a Website with React and Tailwind CSS
By Shahed Nasser,
React and Tailwind CSS: a beautiful relationship! Learn how Tailwind frees you from writing CSS so you can focus on your React components.
React Fragments: A Simple Syntax to Improve Performance
By Antonello Zanini,
React fragments provide a simple syntax to group a list of HTML elements without adding unnecessary nodes to the DOM. Here's how.