css兼容ie8的圆角

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lingFei_y/article/details/78435446

大家好,我是凌飞!

前端时间我写前端页面是,需要兼容ie8,但是在ie8 上css3的border-radius边框圆角就会失效,在网上找了很多的资料最后才找到。

为了防止有这类问题的朋友们不用那么大费周章去找我来分享下,如果那里是问题请及时交流。主要是使用了插件,挺好用的!

插件的获取方式:链接:http://pan.baidu.com/s/1bpwFv9X 密码:lks6

如果链接失效请留言!!!

以下是代码:

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
	.inp{
		height: 30px;
		width: 200px;
		position:relative
		border: 1px solid #C0C0C0;
		border-radius: 3px;
		behavior: url(js/ie-css3.htc);
	}
</style>
</head>

<body>
	<input class="inp" type="s" name="" id="" value="123455" readonly/>
</body>
</html>




猜你喜欢

转载自blog.csdn.net/lingFei_y/article/details/78435446