Search
 
SCRIPT & CODE EXAMPLE
 

CSS

simple font-face mixin scss

/* SCSS */
@mixin font-face($name, $file) {
   @font-face {
   font-family: "#{$name}";
   src: url("../fonts/#{$file}.eot");
   src: url("../fonts/#{$file}.eot?#iefix") format("embedded-opentype"),
   url("../fonts/#{$file}.woff") format("woff"),
   url("../fonts/#{$file}.ttf") format("truetype"),
   url("../fonts/#{$file}.svg?#webfont") format("svg");
 }
}
Comment

PREVIOUS NEXT
Code Example
Css :: variables scss 
Css :: button looks like a link 
Css :: color gradient for text 
Css :: input background color 
Css :: fix scroll css position sticky 
Css :: hiding text outside of border css 
Css :: html css profile page template 
Css :: .txt:hover { text-decoration: underline; } 
Css :: Submit Button CSS Class 
Css :: materialize css form file input 
Css :: css pass param to class 
Css :: media queries import file 
Css :: Unable to locate package neo4j 
Css :: mettre un element en avant css 
Css :: display flex align last item to left 
Css :: animate.css not working 
Css :: css make div one line 
Css :: css negative padding 
Css :: bootstrap text truncate after 3 lines 
Css :: rgba color css 
Css :: how to comment in css 
Css :: flip something css 
Css :: loading screen html 
Css :: round one side of div css 
Css :: css keep aspect ratio image 
Css :: aclocal: not found 
Css :: css a tag id selector scrolls too far 
Css :: font weight numbers 
Css :: filter css 
Css :: Deployer custom Options 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =