The temptation to dive right into new and exciting CSS tricks is strong – you might even do it without knowing it through learning by example or implementing that hot new framework everyone is talking about. It is more important to fully understand new CSS classes and properties, experiment with them and learn their limitations before putting them into practice, especially when working on commercial projects. In this article I’ll cover some common CSS mishaps and pitfalls of newer techniques to help you make informed decisions when building your stylesheets.
One of the challenges of coding premium WordPress themes is the unpredictable nature of how they will be used. Compared to coding a custom website, especially one using static HTML documents where you have complete control over the markup, you have to solve problems creatively and ensure flexibility. In these cases, CSS selectors make all the difference.
CSS image filters are a quick way to tweak images in the browser without resorting to Photoshop. This simple reference gives you 9 CSS filter shorthands that provide an excellent way to maintain style consistency across visual content on your site, or just add a little fun to image hovers. CSS filters are most commonly used to adjust the display of images images and backgrounds, but can also be applied to other visual elements such as borders and buttons.
Inserting icon fonts to your layouts adds fun visual queues for your users and are especially successful as menu links or as replacements for larger graphics. Like standalone SVG files, they can be scaled losslessly and manipulated with CSS for easier customization. Icon fonts are normally displayed by including an icon font stylesheet, then inserting an HTML element where the icon should appear, such as
<span class="icon123"> or
<i class="xyz">, but using the HTML method is not always possible. This quick tip will show you how to add icon fonts to any element in your site safely with just CSS.
If you have ever been stuck in traffic, you know there is always someone up ahead texting, rubbernecking or just driving too slow. It is totally aggravating and makes you want to stop driving, right? A slow website isn’t that different. It kills any desire your visitors have to make repeated visits – that is if they even stick around long enough for the first one.
Hero headers or hero images are one of the most frequently used and aesthetically pleasing web deisgn trends in 2016, and will likely remain strong for a few years to come. The term "hero" is often interchanged with "jumbo" and refers to full-width graphics or photos seen at the top of a post or page, like you see on this one! There are several ways to use a hero image in web design, from full-screen backgrounds to simply adding visual impact to page content.