三角形div
引用https://www.cnblogs.com/v-weiwang/p/5057588.html #div1{ border-style: solid; border-width: 0px 0px 100px 100px; border-color: transparent transparent blue …
引用https://www.cnblogs.com/v-weiwang/p/5057588.html #div1{ border-style: solid; border-width: 0px 0px 100px 100px; border-color: transparent transparent blue …
transform: translate(0, -50%);//偏移量 display:flex;align-items:center; justify-content:center;
background: linear-gradient(#fff, #333);