mirror of
https://github.com/pure-css/pure.git
synced 2024-12-10 23:44:26 +00:00
fix: add button icons fixes #938
This commit is contained in:
parent
a5475b4b3b
commit
8832b57b3f
@ -24,6 +24,12 @@ module.exports = {
|
||||
],
|
||||
],
|
||||
projectName: 'pure-css.github.io',
|
||||
scripts: [
|
||||
{
|
||||
src: 'https://kit.fontawesome.com/f7f35653b1.js',
|
||||
defer: true,
|
||||
}
|
||||
],
|
||||
themes: ['@docusaurus/theme-classic'],
|
||||
customFields: {
|
||||
PURE_DOWNLOAD_SNIPPET,
|
||||
|
@ -131,7 +131,7 @@ function Buttons() {
|
||||
<h3 className="content-subhead">Buttons with icons</h3>
|
||||
|
||||
<p>
|
||||
Pure doesn't ship with icon fonts, but we play nice with existing ones. Incorporating icon fonts with Pure Buttons is easy. In the example below, we're using icon fonts from <a href="http://fortawesome.github.io/Font-Awesome/">Font Awesome</a>. Put the <a href="http://fortawesome.github.io/Font-Awesome/get-started/">Font Awesome CSS file</a> on your page and use an <code><i></code> element within a <code>pure-button</code> element.
|
||||
Pure doesn't ship with icon fonts, but we play nice with existing ones. Incorporating icon fonts with Pure Buttons is easy. In the example below, we're using icon fonts from <a href="https://fontawesome.com/">Font Awesome</a>. Put the <a href="https://fontawesome.com/start">Font Awesome CSS file</a> on your page and use an <code><i></code> element within a <code>pure-button</code> element.
|
||||
</p>
|
||||
|
||||
<Example>
|
||||
|
Loading…
Reference in New Issue
Block a user