Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS for SVG sprites #15162

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Create fa-symbol[-regular|-solid|-brands].css
**`fa-symbol`**[`-regular`|`-solid`|`-brands`]**`.css`**

+ CSS variable `--fa-symbol` is set by classes.
+ The variable can be used with `var(--fa-symbol)` which is predefined for some element and class combinations:

  * **(`dt`|`dd`|`li`)**`.fa`[`r`|`s`|`b`] use `list-style-image`
  * **`.i`**`.fa`[`r`|`s`|`b`] uses `background-image`
  * **`.a`**`.fa`[`r`|`s`|`b`] uses `content` *after* element content
  * **(`.b`|`i`)**`.fa`[`r`|`s`|`b`] use `content` *before* element content
  * **`summary`**`.fa`[`r`|`s`|`b`] use `content` for *marker* box
  • Loading branch information
Crissov committed Jun 17, 2019
commit efbb1a9b9f4b17fed5465651f47fddc8240889b4
Loading