What is CSS# CSS (abbreviation of Cascading Style Sheets), translated as "cascading style sheets" or "cascading style sheets", is referred to as style sheets. The main purpose of CSS# It is mainly used to set the appearance or style of HTML web pages. Appearance or style: the size, color, font of the text in the HTML web page, the background color and background image of the web page. CSS3 Borders CSS3 Borders# With CSS3, you can create rounded borders, add shadows to rectangles, and use images to draw borders - without using design software such as PhotoShop. You will learn the following border properties: border-radius, box-shadow, border-image. 1. Rounded border border-radius# In CSS3, the border-radius property is used to create rounded corners: 1.1. border-radius syntax# The basic writing method is as follows: Set the upper left corner Set the upper right corner Set the lower left corner Set the lower left corner Shorthand setting of four corners The execution order is as follows: upper left-upper right-lower right-lower left Set the four corner values to be uniform Support percentage Support em Supported operations JavaScript Syntax 1.2 Browser compatibility# -webkit: represents Webkit-based browsers, such as Chrome and Safari, private attributes or kernel identification codes. -webkit-border-radius:5px; -moz: represents the private attributes or kernel identification code of the Firefox browser. -moz-border-radius:5px; ms represents the IE browser's private attribute or kernel identification code. -ms-border-radius: 5px; -o- represents the private attributes or kernel identification code of Opera browser. -o-border-radius: 5px; IE9+, Firefox 4+, Chrome, Safari 5+, and Opera support the border-radius property. border-radius:10px; Summarize The above is the CSS3 border effect that I introduced to you. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you! |
<<: Thinking about grid design of web pages
>>: JavaScript implements password box verification information
Classical color combinations convey power and auth...
This article uses examples to describe the operat...
Without further ado Start recording docker pullin...
Table of contents 1. Object 1.1 What is an object...
How to Install GRUB for Linux Server You cannot u...
Table of contents Brief Analysis of MySQL Master-...
This article describes how to compile and install...
Original text: https://dev.mysql.com/doc/refman/8...
Let's imitate Taobao's function of displa...
First, setInterval is encapsulated as a Hook 👇 im...
1. MySql Architecture Before introducing the stor...
This article shares the specific code for impleme...
I'll record the problems I encountered during...
bmi Voyager Pitchfork Ulster Grocer Chow True/Sla...
Copy code The code is as follows: <iframe src=...