Skip to content

Instantly share code, notes, and snippets.

@linebreaker
linebreaker / designer.html
Last active October 19, 2016 10:20
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 240px;
@linebreaker
linebreaker / designer.html
Last active November 8, 2016 05:12
designer
<link rel="import" href="../paper-ripple/paper-ripple.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="gdg-card">
<template>
<style>
<div class="wrapper"> <!-- PAGE LEVEL / CONTAINER TYPE - everything goes under here -->
<div class="container"> <!-- CONTAINER TYPE - everything goes into this -->
<div class="hldr"> <!-- SCOPEY CONTAINER TYPE - top logo type graphic goes under this -->
<div class="graphic"> <!-- SPECIFIC CONTAINER TYPE - graphics object held here-->
</div>
</div>
<span class="spacer--vertical_30px"> <!-- SPACER - Vertical -->
</span>
<div class="input-container"> <!---->
<span class="input-label">username</span> <!---->
@linebreaker
linebreaker / index.html
Created August 2, 2017 14:42
Responsive Grid
<div class="container grids">
<header>
<h1>Responsive Grid </h1>
<p>A simple responsive grid system, mobile first design. Resize your browser to test the grids.</p>
</header>
<div class="row">
<div class="col12">column 12</div>
</div>
<div class="row">
<div class="col11">column 11</div>
@linebreaker
linebreaker / index.haml
Created August 2, 2017 14:43
night run
.lt
.rt
.wrap
.cube
.face.road
- 10.times do
.face.building1.left
- 10.times do
.face.building1.right
- 10.times do
@linebreaker
linebreaker / index.html
Created August 6, 2017 09:34
Responsive Grid with Flexbox
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Flexbox responsive grid</title>
</head>
<body>
<div class="wrapper">
<p>Responsive grid with Flexbox</p>
<h1>Basic Grid</h1>
<p></p>
@linebreaker
linebreaker / index.html
Created August 11, 2017 16:46
text-shadow
<div class="full-wrapper">
<div class="content-wrapper">
<div class="headline">
<small>the new</small><br/>
GDG&trade;<br/>
website <br/>
will be<br/>
ready<br/>
<strong>very</strong><br/>
soon<br/>
@linebreaker
linebreaker / dc-metro-lines-map-animated-svg-path.markdown
Created October 12, 2017 22:18
DC Metro Lines Map (Animated SVG Path)
@linebreaker
linebreaker / collection-of-animated-loaders.markdown
Created October 12, 2017 22:26
Collection of animated loaders

Collection of animated loaders

Inspired by this article, except I've tried to create one element (no cheating with pseudos) versions. Not meant to reproduce the loaders in the article exactly and may have poorer browser support.

A Pen by gdg on CodePen.

License.