A nice and clean toggle switch that relies only on CSS. I used the techniques found here: http://www.sitepoint.com/css3-toggle-switch/
A Pen by Carlos Perez on CodePen.
{ | |
"ignore": [ | |
"**/node_modules/**", | |
"**/vendor/**", | |
"**/**-min-**", | |
"**/**-min.**", | |
"**/**.min.**", | |
"bower_components/**", | |
"dist/**", | |
"_artifact/**", |
vis.select('#points') | |
.selectAll('.point') | |
.enter() | |
.append('svg:a') | |
.attr('xlink:xlink:href', '#') // add the namespace TWICE | |
.append('svg:circle') | |
// and so on and so forth |
<snippet> | |
<content><![CDATA[ | |
console.log(${1}); | |
]]></content> | |
<tabTrigger>cl</tabTrigger> | |
</snippet> |
A nice and clean toggle switch that relies only on CSS. I used the techniques found here: http://www.sitepoint.com/css3-toggle-switch/
A Pen by Carlos Perez on CodePen.