Skip to content

Instantly share code, notes, and snippets.

View mattymil's full-sized avatar

Matthew C. Miller mattymil

View GitHub Profile
@mattymil
mattymil / tester-app.html
Last active December 13, 2017 02:54
Background image in Polymer component example
<link rel="import" href="../../bower_components/polymer/polymer.html">
<dom-module id="tester-app">
<template>
<style>
:host {
display: block;
}
img.bg {
@mattymil
mattymil / gist:8208794
Created January 1, 2014 15:22
Center image and text for landing page
<html>
<head>
<link rel="stylesheet" type="text/css" href="feety.css.scss">
</head>
<body>
<table id="wrapper">
<tr>
<td><img src="/assets/feety.jpg" alt="" /><h1><%= link_to "go", welcome_index_path%></h1></td>