I have referenced then declared an icon
<i class="material-icons">face</i>
But how can I change the icon size?
On oficial site https://design.google.com/icons/ I can see they using classes like class="md-icon dp48"
but it is not working in my case.
if you are using
scss
I followed the answer delivered by Claudios and had to do an additional change. I am using MDL and for the icon to be centered in a button it was necessary to change position left property (default is left:50%).
CSS:
And in HTML:
Sometimes setting font size will not reduce the icon size. Coz, the recommended font-size is either 18, 24, 36 or 48px.
Try setting "height" , "width", "line-height" attributes for that particular icon. This might help.