Skip to content

Commit 4e7a5c4

Browse files
author
Arthur Evans
committed
Updated to address comments.
1 parent 27f861d commit 4e7a5c4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/elements/icons.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ The source image is scaled to fit the icon size, which defaults to 24px square,
4545

4646
You can set the size of the icon using CSS.
4747

48-
<core-icon src="/images/icons/android.svg" style="width: 24px; height: 24px;"></core-icon>
49-
<core-icon src="/images/icons/android.svg" style="width: 32px; height: 32px;"></core-icon>
50-
<core-icon src="/images/icons/android.svg" style="width: 48px; height: 48px;"></core-icon>
48+
<core-icon src="/images/icons/android.svg" style="width: 24px; height: 24px;"></core-icon>
49+
<core-icon src="/images/icons/android.svg" style="width: 32px; height: 32px;"></core-icon>
50+
<core-icon src="/images/icons/android.svg" style="width: 48px; height: 48px;"></core-icon>
5151

5252
Produces: <core-icon src="/images/icons/android.svg" style="width: 24px; height: 24px;"></core-icon>
5353
<core-icon src="/images/icons/android.svg" style="width: 32px; height: 32px;"></core-icon>
@@ -141,7 +141,7 @@ This defines a new iconset called `custom-icons` with a single icon, `fancy-circ
141141
Because the icons are defined as SVG, you can style them with CSS. Make
142142
the fancy circles even more fancy by adding some color:
143143

144-
<style type="text/css">
144+
<style>
145145
core-icon circle {
146146
fill: #0b50bf;
147147
}
@@ -160,7 +160,7 @@ defined above use `custom-icons:fancy-circles` as the `icon` attribute.
160160

161161
<core-icon icon="custom-icons:fancy-circles" size="30"></core-icon>
162162

163-
<style type="text/css">
163+
<style>
164164
core-icon circle {
165165
fill: #0b50bf;
166166
}

0 commit comments

Comments
 (0)