Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.

Commit

Permalink
Improve font-face mixin documentation example
Browse files Browse the repository at this point in the history
Show how @content works for including additional CSS properties within the
`@include` directive
  • Loading branch information
Tyson Gach committed Mar 24, 2016
1 parent 2cd1308 commit a591940
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions core/bourbon/library/_font-face.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,21 @@
///
/// @example scss
/// @include font-face(
/// "source-sans-pro",
/// "fonts/source-sans-pro-regular",
/// $file-formats: ("eot", "ttf")
/// );
/// "source-sans-pro",
/// "fonts/source-sans-pro-regular",
/// ("woff2", "woff")
/// ) {
/// font-style: normal;
/// font-weight: 400;
/// }
///
/// @example css
/// @font-face {
/// font-family: "source-sans-pro";
/// src: url("fonts/source-sans-pro-regular.eot?#iefix")
/// format("embedded-opentype"),
/// url("fonts/source-sans-pro-regular.ttf")
/// format("truetype");
/// src: url("fonts/source-sans-pro-regular.woff2") format("woff2"),
/// url("fonts/source-sans-pro-regular.woff") format("woff");
/// font-style: normal;
/// font-weight: 400;
/// }
///
/// @require {function} _font-source-declaration
Expand Down

0 comments on commit a591940

Please sign in to comment.