vue实现一个简洁的电商购物车代码
代码语言:html
所属分类:电商
代码描述:vue实现一个简洁的电商购物车代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.5.15.3.css"> <style> #app { position: relative; width: 450px; height: 645px; display: flex; background: #b2cebb; flex-direction: column; align-items: center; overflow: hidden; border-radius: 20px; box-shadow: 0px 7px 25px rgba(140, 140, 140, 0.2); transition: 0.3s all ease; } #app .plants { position: absolute; display: flex; flex-direction: column; align-items: center; width: inherit; background: white; border-radius: 20px; box-shadow: 0px 7px 25px rgba(140, 140, 140, 0.2); } #app .plants .plant { display: flex; width: -webkit-max-content; width: -moz-max-content; width: max-content; border-radius: 20px; transition: 0.3s all ease; padding: 10px; margin: 20px 0; } #app .plants .plant:hover { box-shadow: 0px 7px 15px rgba(140, 140, 140, 0.2); } #app .plants .plant:hover img { transform: rotate(25deg) scale(1.45); } #app .plants .plant img { width: 100px; height: auto; border-radius: 20px; transition: 0.3s all ease; } #app .plants .plant .description { width: 180px; padding-left: 25px; } #app .plants .plant .description h4 { margin-top: 5px; } #app .plants .plant .description p { color: #8c8c8c; } #app .plant.........完整代码请登录后点击上方下载按钮下载查看
网友评论0