In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to write css code in safari's webkit core browser". In daily operation, I believe many people have doubts about how to write css code in safari's webkit core browser. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about "how to write css code in safari's webkit core browser!" Next, please follow the editor to study!
Css Google dabbling device css Chrome css safari dabbling device to identify CSS hack
We know and will use the discriminant DIV+CSS HACK between CSS IE Firefox Reader. Here is another introduction to the hack that distinguishes between Google browser (Chrome), Apple safari (safari) and IE.
Only Google dabblers with webkit focus hunters and CSS hack recognized by safari readers
CSS hack code for Chrome and safari, only Google browser and Apple browser read CSS code:
@ media screen and (- site kit-min-device-pixel-ratio:0) {/ * Webkit kernel compatible CSS resolver style is put here * /}
Role models:
@ media screen and (- website kit-min-device-pixel-ratio:0) {.yangshi1 {color:#f00} .yangshi2 {border:1px solid # f00;} .yangshi3 {bac kg round:#f00;}}
HTML Code:
Css color 1 CSS5 style 2 div+css style 3
Total DIV CSS Code:
Google Reader and safari site kit exclusively identify other browsers css hack demo @ media screen and (- site kit-min-device-pixel-ratio:0) {.yangshi1 {color:#f00} .yangshi2 {border:1px solid # f00;} .yangshi3 {background:#f00;}} / * Blood area code is executed by writing to google Reader by the way * / css style 1 CSS5 style 2 div+css pattern 3
Clarification: the bottom left shows the results of the IE dabbler, and the top right shows the results of the google browser, which shows that Chrome is in favor of this CSS hack code that works uniquely.
Conclusion: only the trick decider identified by the important google hunter can be wrapped with the following code (the new CSS style decider is placed in curly braces, and only the text can be identified by Chrome):
@ media screen and (- webkit-min-device-pixel-ratio:0) {/ * the newly built CSS determiner * /} here, the study on "how to write css code in safari's webkit core browser" is over, hoping to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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: 297
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.