CSS tag to increase font size -


is there method create css tag increases font size? like:

<style> p {     font-size: 100%; }  lrg {     font-size: +40%; } </style>  <p>hi <lrg>tom</lrg>!</p> 

in above example, default text size 100% text size of inside tag 140% (100+40).

is there way receive similar results??

you can use em units:

span {      font-size: 1.4em; /* 40% bigger parent */  }
<p>hi <span>tom</span>!</p>


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

jdbc - Squirrel Setup to connect to Phoenix - HBASE: Error java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.NoSuchMethodError: -