[ Launch: Tributary inlet ] 54f6673c3afb50caa88a by nicohaemhouts
[ Launch: CDS EventsPerSecond ] f1360d138a35326a24bc by nicohaemhouts[ Launch: Tributary inlet ] 54f6673c3afb50caa88a by nicohaemhouts
body { | |
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; | |
font-weight: 300; | |
} |
Kind of like the affix plugin in Twitter Bootstrap, but this one automatically calculates the top offset. It creates a nice stack of elements under the fixed navbar at the top of the screen.
A Pen by Nico Haemhouts on CodePen.
When you paste multi-line text into a single-line text input in Internet Explorer you only get the first line. This is because IE chucks away everything after the first newline-character. Other browsers will simply replace the newline with spaces. This snippet does the same thing for IE. If window.clipboardData exists we're on IE and we should intercept the paste event to replace newlines with spaces.
A Pen by Nico Haemhouts on CodePen.
Show the first letter of the first paragraph larger and in a different color than the rest of the text, using the ::first-letter selector.
A Pen by Nico Haemhouts on CodePen.