.clearfix::after {
content: "";
display: block;
clear: both;
}
main .movies:nth-child(6n){
margin-right: 0;
}
position
默认值:static,静态定位(不定位)
relative:相对定位
absolute:绝对定位
fixed:固定定位 */
border-radius: 50%;
(高度暂时只能通过减小划过后的行高来解决) /
宽高的设置包含填充包含内容 /box-sizing:border-box;
background-color:rgba(0,0,0,0.5)
cursor: pointer;
:first-child
:first-of-type
:last-child
:last-of-type
nth-child
even:关键字,等同于2n
odd: 关键字,等同于2n+1
nth-of-type
原文:https://www.cnblogs.com/panghu123/p/11706511.html