Skip to content

Instantly share code, notes, and snippets.

Avatar
🪶
Chaos

redgoose.eth redgoose-dev

🪶
Chaos
View GitHub Profile
@redgoose-dev
redgoose-dev / hairline.html
Created Jul 23, 2015
border hair line. border-width: 0.5px
View hairline.html
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>hair line demo</title>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" href="./style.css"/>
</head>
<body>
View rg-icon.html
<section>
<h1>Icons</h1>
<ul class="items">
<li>
<div>
<span class="rg-icon hamburger"><i>list</i></span>
</div>
</li>
<li>
<div><span class="rg-icon cross"><i>add/close</i></span></div>
@redgoose-dev
redgoose-dev / copyClipboard.js
Last active Aug 29, 2015
Copy the text to the clipboard
View copyClipboard.js
/**
* Copy the text to the clipboard
*
* @Param {String} : copy text
* @Param {String} : prompt message
* @Return void
*/
var copyClipboard = function(str, msg)
{
if (window.clipboardData)