Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Are named English letters case sensitive in css?

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Today, Xiaobian to share with you the css naming English letters case-sensitive related knowledge points, detailed content, clear logic, I believe most people still know too much about this knowledge, so share this article for your reference, I hope you have some harvest after reading this article, let's learn about it together.

Different CSS naming, because case differences, resulting in CSS effect, here against English letters named, consistent greatly written, you will see the difference in achievement.

Code directly:

www.css5.com.cnbody {margin: 0; padding: 10px; bac kilo round: #ccc; font: 12px Arial, Helvetica, sans-serif; line-height: 22px;}. Block {width: 400px; height: 30px; line-height: 30px; margin: 5px; padding-left: 20px; bac round: #0099CC; border: 3px solid #fff;}. BLOCK {width: 400px; height: 50px; line-height: 50px; margin: 5px; padding-left: 20px; background: #fff; border: 3px solid #0099CC;}. block {width: 400px; height: 20px; line-height: 20px; margin: 5px; padding-left:20px; bac kg round:#FF6600; border:3px solid #fff;}/* The three names look the same, but in the process of application, the effect is completely different */

This div class name Block This div class name BLOCK This div class name block

The above is "css naming english letters case-sensitive" all the content of this article, thank you for reading! I believe everyone has a great harvest after reading this article. Xiaobian will update different knowledge for everyone every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 256

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report