圆角头像----CSS3特效
2024-08-28 15:51:18
w3c:http://www.w3school.com.cn/cssref/pr_border-radius.asp
定义和用法
border-radius 属性是一个简写属性,用于设置四个 border-*-radius 属性。
提示:该属性允许您为元素添加圆角边框!
属性border-radius:50%;
这时候头像的外框就有圆角效果
div
{
border:2px solid;
border-radius:50%;
}
最新文章
- php排序
- 数字图像处理作业使用OpenCV - 配置
- myeclipse打war包时,报错security alert integrity check error
- 启动windows的服务--《用delphi开发共享软件》-15.2桌面提示器
- Source Xref 与 JavaDocs 学习理解
- hdu 4588 Count The Carries
- 《Python核心编程》 第六章 序列 - 课后习题
- poj 2533 Longest Ordered Subsequence(dp)
- uva 10014 Simple calculations
- bootstrap 3 のcheckbox-inline
- ORACLE11.2.0 SQLPLUS 报 error while loading shared libraries
- Htmlunit使用
- Best MVC Practices(最优的MVC布局)
- 简单的NIO使用实例
- go logs
- springboot(十六):springboot整合shiro
- Oracle redo/undo 原理理解
- c++-pimer-plus-6th-chapter03
- robotframework·WEB端基础
- centos 安装python3.6