Guest, before posting your code please take these rules into consideration:
It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
Don't share a wall of code. All we want is the problem area, the code related to your issue.
There are so many ways! 1.2em means it will be 20% larger than the default font size for that element. 5vw means 5% of the visible window per character. PX stands for pixels. You can also use the metric system.. example: cm for centimeters
Here is a whole page dedicated to the measurements for font size!
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
There are so many ways! 1.2em means it will be 20% larger than the default font size for that element. 5vw means 5% of the visible window per character. PX stands for pixels. You can also use the metric system.. example: cm for centimeters
Here is a whole page dedicated to the measurements for font size!
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
Here's how you would do that: <p style="text-size: 20px>Hello world!<\p>
It's simple to change the Text inside a HTML Document. Now of course, I use px as that's what I'm used to but I'm pretty sure you're advised to use em.