How to use css border-right property

藏色散人
Release: 2019-05-29 13:27:38
Original
3401 people have browsed it

css border-right property is used to set all properties of the right border into one statement. You can set the following properties in order: border-right-width, border-right-style, border-right-color.

How to use css border-right property

c#ss How to use the border-right property?

Function: Set all properties of the right border into one statement.

Instructions: The following properties can be set in order: border-right-width, border-right-style, border-right-color. If you do not set one of the values, there will be no problem. For example, border-right:solid #ff0000; is also allowed.

Note: IE7 and earlier browsers do not support the value "inherit". IE8 requires !DOCTYPE. IE9 supports "inherit".

css border-right property usage example

<html>
<head>
<style type="text/css">
p 
{
border-style:solid;
border-right:thick double #ff0000;
}
</style>
</head>
<body>
<p>This is some text in a paragraph.</p>
</body>
</html>
Copy after login

Effect output:

How to use css border-right property

The above is the detailed content of How to use css border-right property. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template