Skip to content

Instantly share code, notes, and snippets.

View vedranjaic's full-sized avatar

Vedran Jaic vedranjaic

  • NEOS
  • Zagreb, Croatia
View GitHub Profile
@vedranjaic
vedranjaic / box_sizing.css
Created May 26, 2013 21:45
css: Box-sizing
* {
-webkit-box-sizing: border-box; /* Android ≤ 2.3, iOS ≤ 4 */
-moz-box-sizing: border-box; /* Firefox 1+ */
box-sizing: border-box; /* Chrome, IE 8+, Opera, Safari 5.1 */
}
@vedranjaic
vedranjaic / index.html
Last active December 17, 2015 18:38
Flexbox Responsive Grid Playground
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Flexbox Grid System</title>
<link rel="stylesheet" href="css/fb-grid.css">
</head>
<body>
<div class="row">
@vedranjaic
vedranjaic / html-test-empty.html
Created May 29, 2013 20:39
HTML TEST: <empty>
<!doctype html>
<html>
<head>
<title>HTML TEST: <empty></title>
<meta description="0.1">
<meta author="Vedran Jaic">
</head>
<body>
<a href="#"></a>
<abbr></abbr>
@vedranjaic
vedranjaic / html-test-filled.html
Created May 29, 2013 20:52
HTML TEST: <filled>
<!doctype html>
<html>
<head>
<title>HTML TEST: <filled></title>
<meta description="0.1">
<meta author="Vedran Jaic">
</head>
<body>
<a href="#">Lorem ipsum dolor sit amet.</a>
<abbr></abbr>
@vedranjaic
vedranjaic / index.html
Created May 31, 2013 07:58
HTML Starter Kit
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>SAMPLE</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<!-- CSS -->
<link rel="stylesheet" href="style.css" type="text/css" media="screen" charset="utf-8">
<!--
http://www.quotes.uk.com/web-design/meta-tags.php
Last updated: Wednesday, 22nd May 2013
-->
## Technical Formatting Meta Tags
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta http-equiv="content-language" content="en">
<meta http-equiv="content-language" content="en-gb">
@vedranjaic
vedranjaic / apple_add_dock_spacer_tile.txt
Created June 7, 2013 20:33
Apple Add spacer tile in Dock
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
killall Dock
@vedranjaic
vedranjaic / index.html
Created August 1, 2013 21:19
Bootstrap 3 Starter Kit
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Bootstrap 101 Template</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- CSS -->
@vedranjaic
vedranjaic / _mixins.scss
Last active January 12, 2017 07:37
sass breakpoint mixin for media queries
// Mixins
// http://css-tricks.com/media-queries-sass-3-2-and-codekit/
@mixin breakpoint($point) {
@if $point == lg {
@media (min-width: 1200px) { @content; }
}
@else if $point == md {
@media (min-width: 992px) { @content; }
}
@else if $point == sm {
@vedranjaic
vedranjaic / gulp-environment.js
Last active August 29, 2015 14:12
Gulp tasks condition for development and production environment
// Gulp environment
// https://github.com/gulpjs/gulp-util#noop
// should start gulp with desired environment
// gulp --type production
.pipe(gutil.env.type === 'production' ? uglify() : gutil.noop())