Don't wanna be here? Send us removal request.
Text
0 notes
Photo
My first ribbon with the help from @gwenwebworld !
0 notes
Photo
A beautiful generative art experiment from Yuri Vishnevsky!
0 notes
Photo
Well done: Checkered, stripes & other background patterns with CSS3 gradients « Lea Verou
2 notes
·
View notes
Photo
Looks like Christmas came a little early: Yummygum has released iconSweets 2, a new pack of over 1,000 vector icons, free for use in non-commercial and commercial projects.
125 notes
·
View notes
Quote
GPU acceleration for CSS3 transforms is a significant area of catch-up for the Android team.
Samsung Galaxy Android Tablet: The HTML5 Developer Scorecard - Sencha (via wpbasti)
2 notes
·
View notes
Text
PhoneGap and supporting the Retina display

While making an IPhone Version of 123Abc, I was searching yesterday who to support the retina display of the last IPhone. This is easier as I thought thanks to CSS3 media query (cf. Walt Grayson's blog & Erik Runyon's blog). In the main HTML file: < link rel="stylesheet" href="css/retina.css" media="only screen and (-webkit-min-device-pixel-ratio: 2)" > In the retina.css file, to properly display a 200x200 pixels background image in a 100x100 div with the id #test: #test { background:url('pics/[email protected]'); height:100px; width:100px; background-size:100px 100px; } And for sprites like this one: Just give the width of the background-size property, in my case: ... background-size:50px; ... That's all...
0 notes
Text
PhoneGap and adding external links...
To prevent default behaviors of the Touch events, I do this: var eventNames = ['touchmove', 'touchstart', 'touchend', 'touchcancel']; function preventDefaultBehavior(evt) { evt.preventDefault(); } eventNames.forEach(function(eventName) { document.addEventListener(eventName, preventDefaultBehavior, false); }); But this prevents also the <a> element to be clicked... That is the <a> is totally useless My solution: Suppose you have a <div> element MyElement MyElement.addEventListener('touchstart', function (evt) { window.location = "http://42loops.com"; }, false); That's all...
2 notes
·
View notes
Photo
Loving the Fluid2 theme by tmblg.com!
1 note
·
View note