Stylin’ with CSS

The Blog and Books of Charles Wyke-Smith

Blog Articles Archive

  • Make External Links Open In New Windows

    Discover how to use jQuery to differentiate between internal and external links and open external links in their own windows. I also show how also adding a class allows you to invoke some simple CSS to display a text hint after the link using the ::after pseudo-element, and any other stylings you might want to add to the links that point at pages on other sites.

    Comments: 0

  • Click States with jQuery and CSS - Part 1

    This article shows how to easily add and remove classes from your HTML markup using jQuery. Because the addition of class can also invoke any CSS that has that class, once you master this skill, all kinds of once-for-on, once for-off interaction can be created using CSS, from stylesheet and font-size switchers to pop-up overlays areas and sliding panels.

    Comments: 0

Page 1 of 1

More posts