Answers for "sass import font from file"

CSS
3

import font sass

@font-face {
    font-family: 'Open Sans';
    src: url(path/to/file) format(Example: 'truetype' or 'opentype' depending on the file extension of your font);
}


// USAGE
body {
    font-family: 'Open Sans', sans-serif;
}
Posted by: Guest on July-07-2020

Browse Popular Code Answers by Language