Joined May 2012
·
Posted to
Allow native-feeling scroll in iOS webkit for absolutely positioned containers
over 1 year
ago
You saved my day John, I was looking for exactly this.
Posted to
High Resolution Images in -webkit using image-set() function
over 1 year
ago
Unfortunately not, but you can do this.
body{
background-image: url('path/to/image');
background-image: -webkit-image-set( url('path/to/image') 1x, url('path/to/high-res-image') 2x );
}
And then use @media
syntax to define @2x image.
This syntax is future proof, works in current versions of Safari and Chrome. Waiting for the day when other browser implements it as well.
Posted to
Don't Use CSS "display: none"
over 1 year
ago
How about attribute hidden?
Posted to
Sublime Text 2 – Useful Shortcuts (Mac OS X)
over 1 year
ago
Error with the link!
Achievements
274 Karma
18,326 Total ProTip Views
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Nephila Komaci 3
Have at least three original repos where PHP is the dominant language
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
It’s available only above Safari 6 and Chrome 21. As of now, it’s still a CSS4 spec I guess. So there isn’t going to be any cross browser solution anytime soon.