Are named English letters case sensitive in css?
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.