完整边框-Radius
填空题 简单
题目
Fill in 空白到 制作这个 100x100px div perfect circle.
代码
.circle {
width: 100px;
height: 100px;
border-radius: ___;
}
提示
circle 需要 radius 到是 half 宽度.
解释
边框-radius: 50% 创建 perfect circle 当元素有 equal 宽度 and 高度. 50% 平均值 radius 是 half 元素's 大小, 哪个 rounds 每个角落到 quarter-circle. 你能 也 use 50px for 100px 元素.
相关资源
相关课程
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。