Skip to content

Instantly share code, notes, and snippets.

@exarcheia-web
exarcheia-web / dabblet.css
Created June 3, 2013 15:43
Box Model - old and new
/* Box Model - old and new */
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
font-family:Tahoma,sans-serif;
}
* {
@exarcheia-web
exarcheia-web / dabblet.css
Created June 18, 2013 20:09 — forked from vasilisvg/dabblet.css
A simple menu with a :hover action
/**
* A simple menu with a :hover action
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
font: 100%/2.5 helvetica, arial;
}
@exarcheia-web
exarcheia-web / index.html
Last active October 17, 2018 19:53
LESSON 1-2 Html Basic Essential Markup
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Example page</title>
</head>
<body>
<h1>Hello world</h1>
<p>Lorem ipsum dolor sit amet, consectetur.</p>
@exarcheia-web
exarcheia-web / html-boilerplate
Last active October 17, 2018 19:52
LESSON 2 Standard html5 boilerplate - 2013
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example page</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="favicon.ico" rel="shortcut icon">
<link href="apple-touch-icon.png" rel="apple-touch-icon">
@exarcheia-web
exarcheia-web / example-html
Created August 4, 2013 22:58
LESSON 2 An example of a typical html5 page structure with commonly used tags
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example page</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@exarcheia-web
exarcheia-web / grid
Last active December 26, 2015 05:39
Don't overthink it grids by Chris Coyier
.grid {
display: block;
}
.grid:after {
content: " ";
display: table;
clear: both;
}
@exarcheia-web
exarcheia-web / menu-submenu
Created October 22, 2013 15:14
Menu with submenu - reusable code
.menu-main {
padding: 0;
margin: 0;
list-style: none;
}
.menu-main > li {
display: inline-block;
/* THIS IS THE KEY TO THE SUBMENU! */
@exarcheia-web
exarcheia-web / Week1
Created October 24, 2013 08:43
WEEK 1
## WEEK 1
------
#### WHAT WE KNOW SO FAR
HTML
- Basic html structure
- What goes inside `<head>` [Gist](https://gist.github.com/exarcheia-web/6152183)
@exarcheia-web
exarcheia-web / 3-Grid-Layout-Techniques.markdown
Created November 2, 2013 06:38
A Pen by exarcheia-web.
@exarcheia-web
exarcheia-web / index.html
Created November 5, 2013 14:45
3 ways to style a page
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Example page</title>
<link rel="stylesheet" href="style.css">
<style>
h1 {
font-size: 30px;