云淘

Generation

css from descriptionSat, 18 Feb 2023

创建一个Div元素,加上阴影,并且加上渐入渐出的动画效果

.shadow { box-shadow: 10px 5px 5px grey; animation: fadeIn 3s forwards; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

Questions about programming?Chat with your personal AI assistant