Skip to content

Instantly share code, notes, and snippets.

@Risto-Stevcev
Risto-Stevcev / index.html
Last active September 4, 2017 23:20 — forked from anonymous/index.html
Web Components Example JS Bin// source http://jsbin.com/rogopipubo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.0.10/custom-elements-es5-adapter.js"></script>
<style id="jsbin-css">
::content .product-img {
width: 12px;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@Risto-Stevcev
Risto-Stevcev / index.html
Last active January 23, 2017 23:16 — forked from anonymous/index.html
CSS3 toggle pill w/ better IE support (border-box) - JS Bin// source http://jsbin.com/dejilat
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.togglePill {
box-sizing: border-box;
background-color: #00e600;
@Risto-Stevcev
Risto-Stevcev / index.html
Created January 23, 2017 22:37 — forked from anonymous/index.html
CSS3 toggle pill w/ slightly better IE support - JS Bin// source http://jsbin.com/dejilat
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.togglePill {
background-color: #00e600;
width: 60px;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.togglePill {
background-color: #00e600;
width: 60px;
@Risto-Stevcev
Risto-Stevcev / index.html
Created January 23, 2017 21:58 — forked from anonymous/index.html
CSS3 Toggle pillbox - JS Bin// source http://jsbin.com/zelasiw
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.togglePill.togglePill-true:after {
background-position: 0px;
width: 40px;