Example usage

Further down on this page You find visual examples of how to deal with legacy styling.

Check out the source code for further explanation


Screenshot of how the first example would look like
Screenshot of how the first example would look like
<div class="dnb-core-style">

I'm using the Eufemia CSS reset, so I'm 1.5rem high!

Me as well 😇

And I'm a <h2>



</div>

I'm still on the Pixel Grid

<div class="dnb-core-style dnb-spacing">

I'm a <h2> in an Article, and have the default spacing!

I'm a happy paragraph with spacing, written as <p>.

And I cloned Your style, but written as <p class="dnb-p">



</div>

I'm still on the Pixel Grid