折角為什么要加絕對定位?
.image-layer:before {
?content: '';
?position: absolute;
?top: 0;
?right: 0;
?border-style: solid;
?border-width: 0;
?border-color: rgba(0,0,0,0.2) #fff;
?border-radius: 0 0 0 4px;
?transition:all 0.4s ease-out;
}
.image-layer:before {
?content: '';
?position: absolute;
?top: 0;
?right: 0;
?border-style: solid;
?border-width: 0;
?border-color: rgba(0,0,0,0.2) #fff;
?border-radius: 0 0 0 4px;
?transition:all 0.4s ease-out;
}
2017-09-12
舉報
2017-09-22
相對于父節(jié)點才能實現(xiàn)在右上角的效果
2018-07-19
去除寬高吧