Skip to content

Instantly share code, notes, and snippets.

View RCopeland's full-sized avatar
😎

Rob Copeland RCopeland

😎
View GitHub Profile
### Keybase proof
I hereby claim:
* I am rcopeland on github.
* I am robcopeland (https://keybase.io/robcopeland) on keybase.
* I have a public key ASCnz_apolzbUIkmT9vPqSv6djQ6_huVk6vNQ5oZckN4GQo
To claim this, I am signing this object:

Creating an 'Are You Sure?' Modal

If you have a user using your site, and let's say its a secure site with a login, and that user wants to follow a link that you've provided, you'll need to make sure that they meant it, as navigating away will likely log the user out. You could open the link in a new tab by default, but then you're overriding the browser default behavior, which we know is rarely a good idea.

A Pen by Rob Copeland on CodePen.

License.

@RCopeland
RCopeland / SassMeister-input-HTML.html
Created June 23, 2015 14:42
Generated by SassMeister.com.
<p class="text"></p>
@RCopeland
RCopeland / SassMeister-input-HTML.html
Created June 23, 2015 14:40
Generated by SassMeister.com.
<p class="text"></p>
@RCopeland
RCopeland / gist:10021875
Created April 7, 2014 14:55
Gruntfile.js for Using Jekyll with Sass and LiveReload
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
compass: {
dist: {
options: {
'require': ['modular-scale','susy'],
'outputStyle': 'compressed',
'sassDir': 'sass',
'cssDir': 'assets/css'
@RCopeland
RCopeland / SassMeister-input-HTML.html
Created March 24, 2014 15:59
Generated by SassMeister.com.
<div class="btn">Upload</div>
<div class="btn--working">gif</div>