Skip to content

Instantly share code, notes, and snippets.

@rickary
rickary / Twitter-Web-Intent:-Tweet.markdown
Created October 7, 2013 13:16
A Pen by Rick Chadwick.
@rickary
rickary / The HTML
Created August 1, 2013 11:01
Inline Form Fix: Need label and input to be inline. Don't know how long label will be. Want input to fill remaining space. Demo: http://jsfiddle.net/rickary/6EaBZ/
<p class="inline">
<label for="test">Label of unknown length:</label>
<span><input type="text" name="test" id="test"></span>
</p>
@rickary
rickary / Text Replace Mixin
Last active October 13, 2021 17:07
mixin to replace text with svg image + png fallback w/sass + modernizr
// ********************
// MIXINS
// ********************
// *****
// no-svg
// modernizr adds .no-svg - this will be the fallback
@mixin no-svg {
.no-svg & { @content }
@rickary
rickary / Pullquotes
Last active December 17, 2015 21:10
Clones content wrapped in a blockquote. Leaves the original blockquote in the body and create a pullquote too. Lovely.
<style>
blockquote {
display: inline;
margin: 0; padding: 0;
}
blockquote.pullquote {
padding:0;
margin: 30px 30px 30px 0;
float: left;