how to set the global font-size

asked 2018-11-27 10:32:09 +0800

salmon gravatar image salmon
1 1

updated 2018-11-27 11:20:29 +0800

The default font size is 16px, which is a bit large. How to set the global font size to 12px instead of individual components?


delete flag offensive retag edit

2 Answers

Sort by » oldest newest most voted

answered 2018-11-27 11:30:22 +0800

superium gravatar image superium
29 5

in css:

.z-label {
    font-size: 12px;

and sign css to your page:

<?link rel="stylesheet"  type="text/css" href="css/main.css" ?>
link publish delete flag offensive edit

answered 2018-12-04 18:42:20 +0800

salmon gravatar image salmon
1 1

thanks, but is't my need! now i use scss rewrite some style.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2018-11-27 10:32:09 +0800

Seen: 14 times

Last updated: Dec 04 '18

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More