html选中三角遮盖_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:51:44
Original
868 people have browsed it

如题
图片效果该怎么做好?我原本想用css做个三角再旋转.但看着不好看, 中间有白线,而且IE下边框很难看.有没什么好点的方法做的?


回复讨论(解决方案)

<style> li{position:relevate;border:2px solid #ddd;}li i{bottom: -2px;display: block;height: 9px;position: absolute;right: -2px;width: 9px;background-image:url(三角图片.jpg);}<style><ul><li>380<i></i></li><li>120<i></i></li></ul>
Copy after login

div{ 
width: 0; 
height: 0; 
border-bottom: 100px solid red; 
border-left: 100px solid transparent; 

http://www.cnblogs.com/top5/archive/2012/02/14/2351959.html

我觉得明显用背景图片更好点

用背景图片……

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!