Skip to content

Instantly share code, notes, and snippets.

View chriscoyier's full-sized avatar

Chris Coyier chriscoyier

View GitHub Profile
@chriscoyier
chriscoyier / input.scss
Created February 26, 2021 17:11
Generated by SassMeister.com.
body::before {
content: "\f19c";
}
@chriscoyier
chriscoyier / dabblet.css
Created April 10, 2012 20:51
Shadow Triangle
/* Shadow Triangle */
span {
display: inline-block;
transform: scaleX(2.5);
color: #BADA55;
text-shadow:
0 2px 2px rgba(255,255,255,0.7),
0 10px 4px rgba(0,0,0,0.5);
font-size: 32px;
/*!
{
"name": "SVG as an <img> tag source",
"property": "svgasimg",
"caniuse" : "svg-img",
"tags": ["svg"],
"authors": ["Stu Cox"],
"async" : true,
"notes": [{
"name": "HTML5 Spec",
@chriscoyier
chriscoyier / index.html
Created September 23, 2015 18:21
Difference Between Inline SVG reference and External reference
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
.icon {
width: 100px;
height: 100px;
}
<?php
/*
Template Name: Alamanc Group
*/
?>
<?php get_header(); the_post(); ?>
<h1 class="almanac-title">Almanac</h1>
body {
font-family: "Trebuchet MS", sans-serif;
}
body {
font-family: "Trebuchet MS", sans-serif;
}
<div class="social-menu">
<h1>Social Media Button Hover Effect</h1>
<ul>
<?php if (get_field('twitter')): ?>
<li>
<a href="<?php the_field('twitter'); ?>">
<span class="link-label">Twitter</span>
atk git-credential-netlify libksba nspr redis
autoconf git-lfs libpng nss ruby
automake glib libtiff openssl ruby-build
cairo gobject-introspection libtool openssl@1.1 ruby@2.6
cmake graphite2 libxml2 pango sphinx-doc
dnsmasq gtk+ libyaml pcre sqlite
fontconfig harfbuzz lzo pixman wget
freetype icu4c makedepend pkg-config xz
fribidi jpeg mkcert python yarn
gdbm libffi mysql@5.6 python@3.8
@chriscoyier
chriscoyier / index.pug
Last active January 2, 2020 15:28
Playing with GistPad
# Hello World!