I hereby claim:
- I am sammarkiewicz on github.
- I am sammarkiewicz (https://keybase.io/sammarkiewicz) on keybase.
- I have a public key ASAEKaOoR-473zetBqC7rbvy2F4pNH3Mr_c8jp92jD1Prwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| function boilerplate { | |
| args=($@) | |
| # clone repo | |
| git clone https://github.com/SamMarkiewicz/boilerplate.git $@ | |
| cd $@ | |
| # remove git repo | |
| rm -rf .git |
Make the submit button appears when you focus on the text field. Done with css only.
A Pen by Sam Markiewicz on CodePen.
| doctype html | |
| html lang="en" | |
| head | |
| meta charset="UTF-8" | |
| title Calendar | |
| link href='http://fonts.googleapis.com/css?family=Lato:300,400,300italic,400italic' rel='stylesheet' type='text/css' | |
| link href="//netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css" rel="stylesheet" | |
| body | |
| section role="main" class="m-box--sign-in" | |
| header class="m-box--box-sized" |
| doctype html | |
| html lang="en" | |
| head | |
| meta charset="UTF-8" | |
| title Calendar | |
| link href="http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,700" rel="stylesheet" type="text/css" | |
| body | |
| header role="banner" | |
| time | |
| | August |
| // Create the var according to your needs : | |
| var wrappedImg = $('[higher-selector-that-contains-img]').find('img') | |
| wrappedImg.closest('p > *').unwrap(); //Allow p suppression even if the structure changes - i.e if you put link on your img | |
| // Exemple : | |
| // var wrappedImg = $('section').find('img') | |
| // wrappedImg .unwrap('p'); |
| body { | |
| line-height: 1; | |
| } | |
| ol, ul { | |
| list-style: none; | |
| } |