Home  >  Article  >  Web Front-end  >  How to set border and transparency styles for Div

How to set border and transparency styles for Div

php中世界最好的语言
php中世界最好的语言Original
2018-02-07 09:52:525176browse

This time I will show you how to set the border and transparency style of Div. What are the precautions for setting the border and transparency style of Div. Here is a practical case, let's take a look.

Border:

Style=”border-style:solid;border-width:5px;border-color:颜色”



Transparency:

Style=”filter:alpha(opacity=50)” (50%的透明度)

I believe you have mastered it after reading these cases For more exciting methods, please pay attention to other related articles on the php Chinese website!

Related reading:

How to redirect the connection in html

##What is the difference between html, xhtml and xml

How to use the meta viewport attribute of HTML

How to modify the default submission method of the form

The above is the detailed content of How to set border and transparency styles for Div. For more information, please follow other related articles on the PHP Chinese website!

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