Home >Web Front-end >HTML Tutorial >input文本框圆角效果代码实例_html/css_WEB-ITnose

input文本框圆角效果代码实例_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:26:452084browse

input文本框圆角效果代码实例:
本章节分享一段代码实例,它实现了将input文本框设置为圆角的功能。
代码实例如下:

<!DOCTYPE html><html> <head> <meta charset=" utf-8"> <meta name="author" content="http://www.softwhy.com/" /> <title>蚂蚁部落</title> <style type="text/css">input{  border-radius:6px;   border:1px solid #ccc;  height:20px;}</style></head><body><input type="text" value="蚂蚁部落"/></body></html>

border-radius属性可以参阅CSS3实现圆角效果一章节。

原文地址是:http://www.softwhy.com/forum.php?mod=viewthread&tid=18373

更多内容可以参阅:http://www.softwhy.com/divcss/

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