Follow Script & Style on Twitter!
I know you all love Twitter. I also know you all love Script & Style. Now you can have the best of both worlds by receiving S&S post updates when you follow Script & Style on Twitter: @scriptandstyle!
Enjoy!
I know you all love Twitter. I also know you all love Script & Style. Now you can have the best of both worlds by receiving S&S post updates when you follow Script & Style on Twitter: @scriptandstyle!
Enjoy!
Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn't been available within CSS. What we end up doing is repeating the same properties multiple times with each browser prefix. Yuck. Another thing we...
Back in late 2012 it was not easy to find open source projects using requestAnimationFrame() - this is the hook that allows Javascript code to synchronize with a web browser's native paint loop. Animations using this method can run at 60 fps and deliver fantastic...
A while back I shared a clever technique for creating triangles with only CSS. Over the past year, I've found CSS triangles incredibly effective, especially when looking to create tooltips or design elements with a likewise pointer pattern. There's another common shape...
HTML5 has introduced many features to the browser; some HTML-based, some in the form of JavaScript APIs, but all of them useful. One of my favorites if the introduction of the placeholder attribute to INPUT elements. The placeholder attribute shows text in a field until the...



