blog

Simple and flexible CSS grid for your website

Yesterday I finally put to code a simple CSS grid for you to use in your projects. See the demo here, just open that page and resize your browser to see it at work ;)[...]

JQuery dropdown menus (with delay) done right

Have you visited a site here the menu does weird stuff like flickering for a moment when the parent element is hovered?[...]

Bulletproof absolutely positioned dropdown menus

Often the "perfect look" for a drop-down menu is to have it display right at the bottom of the parent element that calls for it's visibility, no overlapping and, of course, no gap between them. you might be tempted to use absolute position with pixel units to set the offset from the top of the parent element.[...]

Targetting _blank outgoing links

If your site is built on WordPress and you'd like to target all your outgoing links as _blank (to open on a new browser tab) and your theme uses jQuery (this snippet works with jQuery only, sorry) add this chunk of code at the end of your theme's footer.php, after <?php wp_footer(); ?> but right before </body>:[...]