Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎁第7期第5题:font-style 属性中 italic 和 oblique 的区别? #48

Open
LinDaiDai opened this issue Jul 8, 2020 · 0 comments
Labels

Comments

@LinDaiDai
Copy link
Owner

font-style 属性中 italic 和 oblique 的区别?

(题目来源:font-style-属性中-italic-和-oblique-的区别)

italicoblique这两个属性都表示"斜体"的意思。

区别在于:

  • italic是使用当前字体的斜体字体
  • oblique只是单纯地让文字倾斜
  • 如果当前字体没有对应的斜体字体,则退而求其次,则会被当成oblique处理,也就是单纯形状倾斜。
@LinDaiDai LinDaiDai added the HTML label Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant