A mixin for writing @font-face rules in SASS.
Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.
@include font-face(Samplino, fonts/Samplino);
<!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"> |
/* Break Page on print */ | |
@media print { | |
#div { | |
page-break-before: always; | |
} | |
} |
input, textarea { | |
-webkit-appearance: none; | |
} |
/* This element holds injected scripts inside iframes that in some cases may stretch layouts. So, we're just hiding it. */ | |
#fb-root { | |
display: none; | |
} | |
/* To fill the container and nothing else */ | |
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] { | |
width: 100% !important; | |
} |
/* wrap <iframe> in a div */ | |
.responsive-video { | |
position: relative; | |
padding-bottom: 56.25%; /* 16/9 ratio */ | |
padding-top: 30px; /* IE6 workaround*/ | |
height: 0; | |
overflow: hidden; | |
} | |
.responsive-video iframe, | |
.responsive-video object, |
/* | |
* disable auto-zoom on iphone input field focus | |
* http://www.456bereastreet.com/archive/201212/ios_webkit_browsers_and_auto-zooming_form_controls/ | |
*/ | |
input[type='text']:focus, | |
input[type='number']:focus, | |
textarea:focus { | |
font-size: 16px; | |
} |
.clearfix:after { | |
content:"\0020"; | |
display:block; | |
height:0; | |
clear:both; | |
visibility:hidden; | |
overflow:hidden; | |
} | |
.clearfix { |
p { | |
overflow: hidden; | |
text-overflow: ellipsis; | |
-o-text-overflow: ellipsis; | |
white-space: nowrap; | |
width: 100%; | |
} |
<!-- For iPad with high-resolution Retina display running iOS ≥ 7: --> | |
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="apple-touch-icon-152x152-precomposed.png"> | |
<!-- For iPad with high-resolution Retina display running iOS ≤ 6: --> | |
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144-precomposed.png"> | |
<!-- For iPhone with high-resolution Retina display running iOS ≥ 7: --> | |
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="apple-touch-icon-120x120-precomposed.png"> | |
<!-- For iPhone with high-resolution Retina display running iOS ≤ 6: --> | |
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png"> | |
<!-- For the iPad mini and the first- and second-generation iPad on iOS ≥ 7: --> | |
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="apple-touch-icon-76x76-precomposed.png"> |