Make the submit button appears when you focus on the text field. Done with css only.
A Pen by Sam Markiewicz on CodePen.
body { | |
line-height: 1; | |
} | |
ol, ul { | |
list-style: none; | |
} |
// 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'); |
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 |
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" |
Make the submit button appears when you focus on the text field. Done with css only.
A Pen by Sam Markiewicz on CodePen.
function boilerplate { | |
args=($@) | |
# clone repo | |
git clone https://github.com/SamMarkiewicz/boilerplate.git $@ | |
cd $@ | |
# remove git repo | |
rm -rf .git |
I hereby claim:
To claim this, I am signing this object: