Joined July 2012
·
Posted to
129 bytes to enable HTML5 on old browsers
over 1 year
ago
This is only for old IE browsers and there are slightly shorter ways of doing it.
You can skip the spaces like that:
'AbbrArticleAsideAudioCanvasDetailsFigureFooterHeaderHgroupMarkMenuMeterNavOutputProgressSectionTimeVideo'.replace(/.[a-z]+/g,function(n){document.createElement(n)})
Posted to
Clearfix Me !
over 1 year
ago
I use this one:
.cleafix:after {
display: block;
content: '';
clear: both;
zoom: 1;
}
Some people add:
height: 0;
Achievements
335 Karma
6,380 Total ProTip Views
24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2014
Komodo Dragon 3
Have at least three original repos where Java is the dominant language
Altruist
Increase developer well-being by sharing at least 20 open source projects
Mongoose
Have at least one original repo where Ruby is the dominant language
Kona
Have at least one original repo where CoffeeScript is the dominant language
Komodo Dragon
Have at least one original repo where Java is the dominant language
Nephila Komaci 3
Have at least three original repos where PHP is the dominant language
Raven
Have at least one original repo where some form of shell script 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
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Cub
Have at least one original jQuery or Prototype open source repo
Here are my 2 cents. I am using this to find out which are my most typed git commands. I am using
g
as an alias for hub and git.