Home > Web Front-end > CSS Tutorial > The practice and use of small triangle_CSS/HTML

The practice and use of small triangle_CSS/HTML

WBOY
Release: 2016-05-16 12:10:23
Original
1974 people have browsed it

You can use DIV+CSS to create many different shapes of angular shapes; I only wrote a few below; CSS is not optimized; it is to let everyone see it more clearly;

Here are some small triangle shapes:

The practice and use of small triangle_CSS/HTML

This is how to write the first small triangle:

Copy the code The code is as follows:
#com_a { border-top:10px solid #FFFFCC;border-left:10px solid #FF3300;border-bottom:10px solid #FFFFCC;}

The following are some small triangles; you can draw inferences from one example; make more;

[Ctrl+A Select all Note: If you need to introduce external Js, you need to refresh to execute ]

The following are An application example:

[Ctrl+A 全選注:如需引入外部Js需刷新才能執行]

在IE6和IE7還有FIREFOX還有OPERA都檢驗過! IE6更低的版本沒有測試!
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