The MoveUp Menu
I got an email quite a while back from Dirk Tucholski who showed me a site called FLOWmarket. He was wondering about how the menu system worked. I thought it looked neat and so set out to build it …
I got an email quite a while back from Dirk Tucholski who showed me a site called FLOWmarket. He was wondering about how the menu system worked. I thought it looked neat and so set out to build it …
It’s been a tradition for years now around here for me to do a year-end wrap-up. It’s a great way of reflecting on the year, sharing some random interesting statistics, and most importantly, saying thank you to everyone who comes …
$('button').click(function(event, wasTriggered) {
if (wasTriggered) {
alert('triggered in code');
} else {
alert('triggered by mouse');
}
});
$('button').trigger('click', true);
… Lea Verou with a clever idea on using CSS3 gradients that repeat (by setting background size) to create striped and checkboard backgrounds with no images.…
Several folks pointed out that this last poll question was worded a bit strangely:
Would you start a new web project today and not use HTML5?
I worded it that way to elicit comments on why a person or organization …
Harry Roberts with a nice technique on using pseudo elements to create the body border effect without extraneous markup (same idea with extra markup gets you older browser support). Read the comments for some other good suggestions. …
One classic layout conundrum is how much stuff to put in a sidebar. Ideally the height of the main content area and the sidebar are about the same, to avoid either area having a large blank area which can be …
It’s not “spec,” but WebKit browsers support image masks. If you are familiar with Photoshop, they work like that. You declare an image to use as as mask. The black parts of that image hide what it is over, …
Nicole Sullivan on forcing elements to create new formatting contexts with display: table-cell
and a string of X’s as pseudo content to force it full width. …
There are all kinds of CSS resets, from the ever-popular Meyer reset, to the newfangled HTML5 reset. Do you know what the difference between the different ones are? It’s a bit hard to picture, even when looking at and comparing …
A few days ago, Chris tweeted:
If we could stack pseudo elements (e.g.
::after::after
) we could build a whole website with no HTML other than . Probably good we can’t.
In response to this, I created this quick …