-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add css.font-icon fixture (#12)
- Loading branch information
Showing
7 changed files
with
76 additions
and
40 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@font-face { | ||
font-family: "Font Awesome 5 Free"; | ||
font-display: block; | ||
font-weight: 900; | ||
src: url(./fa-solid-900.woff2) format("woff2"), url(./fa-solid-900.ttf) format("truetype") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<style> | ||
@import url(__BASE_URL__/font/fa.css); | ||
|
||
#root { | ||
width: 40px; | ||
font-size: 40px; | ||
} | ||
|
||
.fa { | ||
font-family: "Font Awesome 5 Free"; | ||
font-weight: 900; | ||
|
||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-font-smoothing: antialiased; | ||
display: inline-block; | ||
font-style: normal; | ||
font-variant: normal; | ||
line-height: 1; | ||
text-rendering: auto; | ||
} | ||
|
||
.fa-list-ol:before { | ||
content: "\f0cb"; | ||
} | ||
</style> | ||
|
||
<template> | ||
<div id="root"> | ||
<span class="fa fa-list-ol"></span> | ||
</div> | ||
</template> | ||
|
||
<skip-expect /> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
dfa9e24
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
modern-screenshot – ./
modern-screenshot-qq15725.vercel.app
modern-screenshot.vercel.app
modern-screenshot-git-main-qq15725.vercel.app