Skip to content

Instantly share code, notes, and snippets.

View calebgrove's full-sized avatar

Caleb Grove calebgrove

View GitHub Profile
@calebgrove
calebgrove / helloworld.html
Last active July 11, 2023 02:44
"Hello World" HTML/CSS. The first file is the uncommented version to let you "see" the construction better. In the second version, I've placed a lot of instructive comments. Download it, mess around with them in your favorite text editor (TextWranger is free!), and preview them in your browser.
<!DOCTYPE html>
<head>
<title>HTML and CSS "Hello World"</title>
<style>
body {
background-color: #2D2D2D;
}
h1 {
color: #C26356;
@calebgrove
calebgrove / .htaccess
Last active December 22, 2015 04:28
Cache Expiration
# BEGIN EXPIRATION
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
@calebgrove
calebgrove / dabblet.css
Created November 20, 2012 00:54
Untitled
[id^='button'] {
width: 250px !important;
height: 50px !important;
margin: 10px !important;
border-radius: 8px !important;
background-color: #3F3F3F !important;
@calebgrove
calebgrove / dabblet.css
Created November 19, 2012 23:19
CSS ID Wildcard
[id^='button'] {
width: 250px !important;
height: 50px !important;
margin: 10px !important;
border-radius: 8px !important;
background-color: #3F3F3F !important;
}