/* html-part: Pay attention to the correct name */ /* css-part */ .svg-icon { display: inline-flex; align-self: center; } .svg-icon svg { height:1em; width:1em; } .svg-icon.svg-baseline svg { top: .125em; position: relative; }