text smaller than p tag css code example Example: css font size // to scale font size in relation to its parent element style="font-size: 2vw;"