Reader small image

You're reading from  Less Web Development Essentials (Second Edition)

Product typeBook
Published inApr 2015
Publisher
ISBN-139781783554072
Edition1st Edition
Tools
Right arrow
Author (1)
Bass Jobsen
Bass Jobsen
author image
Bass Jobsen

Bass Jobsen has been programming the web since 1995, ranging from C to PHP. He has a special interest in the processes between designer and programmer. He works on the accessibility of Bootstrap and his JBST WordPress starters theme. With over 5 years of experience with Bootstrap, Bass has been actively contributing to the community with his blogs and Git repos.
Read more about Bass Jobsen

Right arrow

Revisiting the CSS background gradients


Remember the CSS3 background gradient that was discussed in Chapter 2, Using Variables and Mixins? To show a better or the same gradient on different browsers, you have to use vendor-specific rules. Different sets of rules make your mixins more complex. In this case, more complex also means more difficult to maintain.

In practice, your mixins grow with outdated code or with code that is no longer supported on the one hand, while on the other hand, you have to update your mixins for newer browsers. Of course, we can only hope that new browser versions support the CSS3 specifications without any further changes to the code.

The Can I use… website (http://caniuse.com/) provides compatibility tables for the HTML5, CSS3, and SVG support, and also for desktop and mobile browsers. It will show you that most of the current browsers have support for the CSS gradients in their current versions. Currently, older versions of the Android browser for mobile still...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Less Web Development Essentials (Second Edition)
Published in: Apr 2015Publisher: ISBN-13: 9781783554072

Author (1)

author image
Bass Jobsen

Bass Jobsen has been programming the web since 1995, ranging from C to PHP. He has a special interest in the processes between designer and programmer. He works on the accessibility of Bootstrap and his JBST WordPress starters theme. With over 5 years of experience with Bootstrap, Bass has been actively contributing to the community with his blogs and Git repos.
Read more about Bass Jobsen