Free since 2005 · No login required
AT

Academic Tutorials

Learn at your own pace

site-mobile-top-banner · 320x50

Am I allowed to use CSS with inline elements such as <span>, <strong>, and <em>?

The element is the only inline element that CSS should be applied to, and only the following properties should be used: * background-color * color * font-family * font-style * font-variant * font-weight * letter-spacing * line-height * text-decoration * text-indent * text-transform