Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Collection of CSS techniques

Monday, June 11th, 2018 by Servage

I’ve stumbled over a great list of cool CSS techniques I think could be useful some web developers:

“CSS3 is taking web development and web design to a higher level. In this article, I have compiled examples of amazing CSS3 techniques that will probably become very popular when CSS3 will be fully supported by most browsers.”

Color animate any shape with CSS3 and a PNG

Let’s start this compilation with an interesting effect created using only CSS3: A png image with a changing background. The background is using CSS3 transitions. Not the kind of effect you’ll put on your website, but definitely an interesting demo of what CSS3 can do.
View source:

Create adaptable layout using CSS3 media queries

CSS3 media queries allow you to adapt a web layout to the browser width. Which means that you can easily create an adaptable layout that fits both big displays and mobile devices. You probably already checked my article on that subject, so I’ve picked another informative tutorial written by webdesigner Nick La. A technique any web developer should know!
View tutorial:

Dim entire page when certain link is rolled over, css way

Very cool for web apps: Once a particular link is rolled over, the rest of the page is dimmed. This technique may also be a starting point for other great experiments.
View source:

Clipping text with CSS3 text-overflow

text-overflow is a new CSS3 property which allows you to define how to handle a text which is bigger than its container. This example will show you anything you need to know about this property. Unfortunely, as I’m writing this post text-overflow is only supported by Opera and IE9.
View source:

Full Browser Width Bars

Another goldie from Chris Coyier: In this tutorial, he’ll teach you how to create full browser width bars easily.
View source:

CSS Mask-Image & Text

A great text effect using CSS3 and mask images. Unfortunately, the effect is not supported by some browsers, but it degrades gracefully. This effect will probably be very popular when CSS3 will be fully supported by all major browsers.
View source:

Image slider with CSS3 transitions

Who’s never heard of JavaScript sliders, such as NivoSlider? That kind of effect is very popular for the past two or three years. With the new CSS3 animations, it is now possible to enhance transitions between images. This tool, called Flux Slider, supports either jQuery or Zepto.js. It works on any browser supporting CSS3 transitions.
View source:

Flared Borders with CSS

Remember that time when you had to create images just to display a box with rounded corners? Thanks to theborder-radius, this painful process is no longer needed. This very cool tutorial will show you how to create an element that flares into another using only CSS. The whole code degrades gracefully in older browsers.
View source:

Collection of CSS techniques, 3.9 out of 5 based on 8 ratings
Categories: Servage


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

No comments yet (leave a comment)

You are welcome to initiate a conversation about this blog entry.

Leave a comment

You must be logged in to post a comment.