While working on some css transition recently faced a small problem, the item that was animated create a trail (some white lines or cut images) where animated, that created a very experience for users, there isn’t real fix yet, however the temporary solution is to use hardware accelerated css property to improve the graphic rendering
Add this property to where you transition the css, hope this help you.
to simplify, SourceMap allow us to live edit or debug compiled and compressed files like sass, coffeescript from the main source file.
This is how you do on chrome,
Open up your Developer Tools and click on settings, make sure that the option: Enable css “Enable CSS source maps” and “Auto-reload generated CSS” are both ticked.
Now you need to map your css to sass or scss file,
Open the Source tab from developer toolbar and right click the css you want to map to the scss
it might not be ovious if you are writing a few line of codes only, but for those web applicaitions of content heavy websites, this is great way to build rapid css without worries. Continue reading “Compass for sass”
Image sliders for mobileHaving image slider is a great way showcase your website, of course for mobile too, say if you built an responsive web for mobile and found that your slider don’t work anymore when you swipe, here are some alternative images slider that work just great on mobile. they are responsive and works great on your finger.
I have been using SASS (http://sass-lang.com/) since last week and found love with it. so what is SASS exactly that people are talking about on the web, basically it allows you to write your css in variables, functions, nesting for better visual and save your time on complex css, then it compile the file into standard CSS. As what their website said:
Sass makes CSS fun again. Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more. It’s translated to well-formatted, standard CSS using the command line tool or a web-framework plugin.
inorder to install this little brilliant tool open your terminal and key in
gem install sass
for those with permission error with gem/ruby might want to use
One of the problem that i have with css is that it does not allow me to print background color or background image, luckily Chrome and safari have a solution for that. Insert the code below to your css.