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

Example Analysis of rectangular Diagonal of css

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

Share

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

Editor to share with you the css rectangular diagonal example analysis, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to understand it!

This website is very good, you can see it often.

There are several good tools for writing css visualization in css-matic

In fact, you can recommend 40 excellent free CSS tools to do css layout and so on.

Debugger regular expressions online

In fact, it is for (theoretically all) html elements: in practice, what is commonly used is the div block, link a, etc., using the rounded rectangle style

Style: top left of border-radius/ border-top-left-radius /. It can be set differently, or it can be the same.

Radius is the radius, and if radius equals half the length of the side of div, it is a circle.

General: set the overall border first, and then set border-radius:

Border: 1px solid # ccc (this is the classic border gray)

Border-radius: 5-10px

On css3-matic, there are also special notes on ff and chrome:

Modern browsers ff,chrome and ie9+ and above support border-radius:

Adding rounded rectangles to CSS2 is tricky. We have to use a different picture for each fillet.

In CSS3, it is very easy to create fillets.

In CSS3, the border-radius property is used to create fillets:

Div

{

Border:2px solid

Border-radius:25px

-moz-border-radius:25px

}

-moz represents the private properties of the firefox browser

-ms represents the private properties of the IE browser

-webkit represents the private attributes of chrome and safari

-o-stands for opera

These are all from css3.

Webkit browsers that start with-webkit have a unique extension style

Like Firefox-specific extension styles that start with-moz, styles that start with-webkit are unique to Webkit browsers and can only be parsed by Webkit browsers.

For example, fillets can be done with-webkit-border-radius in Webkit browsers.

The above is all the contents of the article "sample Analysis of css rectangular diagonals". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow 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: 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