Skip to content

Instantly share code, notes, and snippets.

View getsetbro's full-sized avatar
💭
[ bro-lite ]

Seth Broweleit getsetbro

💭
[ bro-lite ]
View GitHub Profile
@getsetbro
getsetbro / _.md
Last active August 29, 2015 14:07
progress
@getsetbro
getsetbro / _.md
Last active August 29, 2015 14:07
progress with text wrap
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.bdy{
font-size:3em
}
</style>
@getsetbro
getsetbro / History_of_UI_frameworks
Last active August 29, 2015 14:10
History of UI frameworks
The very first CSS frameworks were: YUI, and Blueprint.
http://yuilibrary.com
http://blueprintcss.org
http://960.gs/
Twitter bootstrap grid was based on 960.gs
http://getbootstrap.com
Bootstrap competition
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
body{
margin:0
}
@getsetbro
getsetbro / index.html
Created February 20, 2015 23:08
Component with the SuitCSS conventions demo of a component using conventions of SuitCSS for component-based dev // source http://jsbin.com/lumeqa
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Component with the SuitCSS conventions</title>
<meta name="description" content="demo of a component using conventions of SuitCSS for component-based dev">
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<style id="jsbin-css">
/* base */
button{
@getsetbro
getsetbro / ╰(´◔ ෴ ◔`)╯
Last active August 29, 2015 14:16
╰(´◔ ෴ ◔`)╯
╰(´◔ ෴ ◔`)╯
¯\_(ツ)_/¯
k͕̖̬i͍̼̰̹l̩̞l̲̺̱ m̙e͍̮̞̠̻ ͓̦̤n̩̪͕̝̯ͅo̯̳w͇.̘
\m/ -.- \m/
\o|o|o/
@getsetbro
getsetbro / Animated-highlighted-text.markdown
Created February 26, 2015 17:40
Animated highlighted text

Animated highlighted text

This pen was inspired by webdesignerdepot's new design, the title on each article will be highlighted when user hovered it.

The idea is simple, it make used of linear gradient and transition.

  1. We set the title to be inline element (This will break every background when the title breaked into lines)
  2. Apply linear-gradient background, with half transparent-color, and highlighted color on the other half. then make it 200% size.
  3. Change the background-position-x to -100%, it will push the highligted color 100% to the right.
  4. Apply transition property to get the nice sliding effect.
@getsetbro
getsetbro / _.md
Created March 4, 2015 23:15
pieChart
@getsetbro
getsetbro / _.md
Created March 4, 2015 23:19
pieChart