This is a handy useful little function that I’ve put together for quickly rounding values for a more user-friendly format. For example if you input 8475 it returns 8K.
HTML5 Redux has everything H5BP has, but with the following enhancements:
- More richer, and more semantic <HEAD> tag elements.
- Holmes - Find out where you went wrong with your HTML.
- Cabin.css - Cabin helps your projects get going quicker by eliminating the need for you to write basic CSS styles yourself.
- A much richer humans.txt
- Open non-site-specific links/foreign domains in a new window
- Prefix Free. Lets you use only unprefixed CSS properties everywhere. It works behind the scenes, adding the current browser’s prefix to any CSS code, only when it’s needed.
- PIE. PIE makes Internet Explorer 6-9 capable of rendering several of the most useful CSS3 decoration features. Note: the path to PIE.htc must be relative to the HTML page, not the css!
- Custom webkit scrollbars.
- Formalize. We’ve all been there. You are nearly done with a beautiful site design, only to arrive at the task we all dread – form styling. Depending on operating system and browser, default form elements can look okay or horribly disfigured.
- PNG Fix. This is a Javascript library that sandwiches PNG image support into IE6 without much fuss.
- Custom Cursors. (cursor.css). Custom CSS-powered cursors you can use in your page.
I was coding an Image Gallery in jQuery the other day, and came across an interesting bug - .animate({visibility: "visible"},1000); doesn’t work. Changing visibility for any other style works fine. The easy workaround to this is just substituting it for opacity. It has the same effect. I still wonder why this is the case though. Other workarounds can be found at goo.gl/Pp1z8.
Update: After filing a bug report the response I got was that ‘The .animate() method allows us to create animation effects on any numeric CSS property’. Which means animating styles like visibility and display don’t work, but you can substitute them for their numerical equivalents.
According to TweetDeck, I tweet 1.9 tweets daily. What are these tweets? Well, most of them are replies (78%), a few are ReTweets (12%) and the rest are links (7%) and my opinions/statements (3%). Btw, if you want to follow me I’m @tompntn.
Hi, just a bit about me to start with. I am 14 years old, and from the UK. I am fluent in CSS3/HTML5/JavaScript(inc.jQuery)/PHP. My website is www.teepeestudios.net. I was just thinking, wouldn’t it be a great idea if there was a place on the net for web devs my age(ish) to collaborate and help each other with projects etc… If anyone is interested in making this happen (or knows of a similar resource/community already in existence) pls contact me on Twitter - @tompntn - or email me at tom@teepeestudios.net. :)