mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
adding placeholder font-face mixin which doesn't work yet
This commit is contained in:
@@ -71,6 +71,20 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Font face generator
|
||||
.font-face(@fontFamily, @fileName, @style, @weight) {
|
||||
@font-face {
|
||||
font-family: @fontFamily;
|
||||
font-style: @style;
|
||||
font-weight: @weight;
|
||||
src: url('@{fileName}.eot');
|
||||
src: url('@{fileName}.eot?#iefix') format('embedded-opentype'),
|
||||
url('@{fileName}.woff') format('woff'),
|
||||
url('@{fileName}.ttf') format('truetype'),
|
||||
url('@{fileName}.svg#@{fontFamily}') format('svg');
|
||||
}
|
||||
}
|
||||
|
||||
// Grid System
|
||||
.fixed-container() {
|
||||
width: @siteWidth;
|
||||
|
||||
Reference in New Issue
Block a user