Category Archive: CSS
Posts about CSS
Here is a quick tip for getting clearer images when reducing their size at web resolution 72dpi.
WordPress makes it clean and easy to enqueue custom stylesheets via the functions.php file. Here’s how to do it for user-agent stylesheets.
CSS transitions can add a nice effect to links. Here are some quick example snippets for your copy/paste enjoyment.
Learn how to append the theme version, random number, or both as a query-string parameter to your CSS stylesheet URLs. This is useful for automatic versioning, cache-busting during development, or both.
Quick snippet for replacing default list-style types (bullets, discs, squares, etc.) with custom generated content in CSS.
Here’s an clean, simple way to add a tabbed sidebar menu using jQuery. You can see an example in the Introspection WP Theme.
Follow this simple two-step tutorial to enable users to translate your web pages into many different languages. Great way to increase exposure and traffic.
Honestly I can’t stand Internet Explorer. But people still use it, so here’s a few ways (via jQuery & CSS) to target different versions of IE.
There are several ways to shorten text, depending on the situation and goals. It’s preferable in most cases to shorten text server-side via PHP, but also possible to shorten via jQuery or even CSS.
Here is another technique for combining multiple CSS stylesheets into a single, compressed file.
Here is a simple PHP script that will combine all CSS files (stylesheets) in a given directory. Delivering one CSS file with your web pages is much faster than delivering multiple files because there are fewer HTTP requests involved.