代码拉取完成,页面将自动刷新
?> 背景知识: filter, radial-gradient, border-image
<script v-pre type="text/x-template" id="irregular-projection"> <style> main { width: 100%; padding: 60px 0 30px 0; display: flex; flex-wrap: wrap; justify-content: space-around; } .projection { width: 228px; height: 180px; margin-bottom: 29px; background: #b4a078; position: relative; } .row1 > .projection:nth-of-type(1) { border-radius: 5px; filter: drop-shadow(2px 2px 2px rgba(180,160,120,.9)); } .row1 > .projection:nth-of-type(1)::before{ content: ''; position: absolute; width: 0; height: 0; top: 65px; right: -20px; border: 22px solid transparent; border-left-color: #b4a078; border-right-width: 0; } .row1 > .projection:nth-of-type(2) { background: transparent; border: 6px dotted #b4a078; filter: drop-shadow(2px 2px 2px rgba(180,160,120,.9)); } .row2 > .projection:nth-of-type(1) { background: radial-gradient(circle at bottom right, transparent 29px, #b4a078 30px) bottom right; filter: drop-shadow(2px 2px 2px rgba(180,160,120,.9)); } .row2 > .projection:nth-of-type(2) { border: 29px dotted #b4a078; border-image: 1 url('data:image/svg+xml, '); filter: drop-shadow(2px 2px 2px rgba(180,160,120,.9)); background-clip: padding-box; } </style>此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。