Skip to content

Instantly share code, notes, and snippets.

View pepelsbey's full-sized avatar
🚧
Working Hard

Vadim Makeev pepelsbey

🚧
Working Hard
View GitHub Profile
---
layout: default
---
<main>
<article role="main" lang="{{ page.language }}" class="layout-entry">
<div class="layout-entry__content">
<div class="content">
<h1 class="content__title">{{ page.title | markdownline }}</h1>
{{ content }}
{
"scope": "text.html - source - meta.tag, punctuation.definition.tag.begin",
"completions":
[
{ "trigger": "doc", "contents": "<!DOCTYPE html>" },
{ "trigger": "html5", "contents": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>$1</title>\n\t<meta charset=\"utf-8\">\n</head>\n<body>\n\t$0\n</body>\n</html>" },
{ "trigger": "h5bp", "contents": "<!DOCTYPE html>\n<!--[if lt IE 7]><html class=\"no-js ie6 oldie\"><![endif]-->\n<!--[if IE 7]><html class=\"no-js ie7 oldie\"><![endif]-->\n<!--[if IE 8]><html class=\"no-js ie8 oldie\"><![endif]-->\n<!--[if gt IE 8]><!--><html class=\"no-js\"><!--<![endif]-->\n<head>\n\t<title>$1</title>\n\t<meta charset=\"utf-8\">\n</head>\n<body>\n\t$0\n</body>\n</html>" },
{ "trigger": "head", "contents": "<head>\n\t$0\n</head>" },
{ "trigger": "title", "contents": "<title>$1</title>" },
@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
[pos | ]
position:
[t | ]
top:
[r | ]
right:
[b | ]
bottom:
[l | ]
left:
@pepelsbey
pepelsbey / dabblet.css
Created January 25, 2012 15:03
Custom text-decoration color
BODY {
font-family:Arial, sans-serif;
}
DEL {
position:relative;
text-decoration:none;
}
DEL:after {
position:absolute;
top:50%;
@pepelsbey
pepelsbey / dabblet.css
Created February 1, 2012 11:18
Scaling
BODY {
background:#777;
}
DIV, IMG {
float:left;
margin:20px;
}
DIV {
width:200px;
height:400px;
@pepelsbey
pepelsbey / dabblet.css
Created February 1, 2012 14:51
Aligning
BODY {
text-align:center;
font:20px sans-serif;
}
DIV, SPAN {
position:absolute;
}
@pepelsbey
pepelsbey / dabblet.css
Created February 9, 2012 08:26
Untitled
HTML, BODY {
margin:0;
padding:0;
height:100%;
font:16px sans-serif;
}
BODY {
display:inline-table;
width:100%;
height:100%;
@pepelsbey
pepelsbey / dabblet.css
Created February 15, 2012 09:31
Untitled
BODY { background: #dda1ee }