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
Post a Comment