Skip to content

Instantly share code, notes, and snippets.

View ambitstream's full-sized avatar

Eugene Kholyavkin ambitstream

  • Spain
View GitHub Profile
@ambitstream
ambitstream / jq-scrollspy.html
Created October 21, 2016 07:19
Simple jQuery scrollspy script
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<header>
<nav>
@ambitstream
ambitstream / checkboxes.html
Created June 8, 2016 10:56
Custom checkbox and radiobutton pure CSS
<form>
<h3>Radio Buttons</h3>
<div>
<input id="radio-1" class="radio-custom" name="radio-group" type="radio" checked>
<label for="radio-1" class="radio-custom-label">First Choice</label>
</div>
<div>
<input id="radio-2" class="radio-custom"name="radio-group" type="radio">
<label for="radio-2" class="radio-custom-label">Second Choice</label>
@ambitstream
ambitstream / svg-code.html
Last active August 15, 2016 14:08
SVG social icons
<svg preserveAspectRatio="none" class="soc-icon" viewBox="0 0 32 32">
<use xlink:href="#iconFb"></use>
</svg>
<svg preserveAspectRatio="none" class="soc-icon" viewBox="0 0 32 32">
<use xlink:href="#iconGp"></use>
</svg>
<svg preserveAspectRatio="none" class="soc-icon" viewBox="0 0 32 32">
<use xlink:href="#iconTw"></use>
</svg>
<svg preserveAspectRatio="none" class="soc-icon" viewBox="0 0 304.36 304.36">