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

How to write the css code of safari's webkit core browser

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly explains how to write the css code of safari's webkit core browser. Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to write css code in safari's webkit core browser.

We know and will use the discriminant DIV+CSS HACK between CSS IE Firefox. Here, let's first introduce the discrimination between google browser (Chrome), Apple browser (safari) and IE.

Only need the google dabbler and safari reader of the periphery of the site kit to recognize other CSS hack

Chrome and safari CSS hack code, only google reader Apple Reader reads CSS code:

Model:

}

HTML Code:

Css style 1 CSS5 style 2 div+css style 3

Total DIV CSS Code:

Google browser and safari site kit uniquely distinguish other browsers css hack demo @ media screen and (- website kit-min-device-pixel-ratio:0) {.yangshi1 {color:#f00} .yangshi2 {border:1px solid # f00;} .yangshi3 {bac kg round:#f00 }} / * Blood zone code is an experimental pattern written to Google browser by the way * / css style 1 CSS5 pattern 2 div+css fancy 3 so far, I believe you have a deeper understanding of "how to write css code in safari's webkit core browser". You might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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: 0

*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