社区文档构建进行中,欢迎编辑。社区答疑群(非官方):717421103,点点小课堂(腾讯会议):5696651544

全站通知:

Widget:PileIconMaker

来自WIKI实验室WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

<style> .pileIcon, .pileIcon * { box-sizing: border-box; }

.pileIcon { position: relative; width: var(--size); height: var(--size); overflow: hidden; }

.pileIcon > .layer { position: absolute; width: 100%; height: 100%; top: 0; left: 0; display: flex; }

.pileIcon > .layer.fully > * { width: 100%; height: 100%; }

.pileIcon > .layer.mobile[data-pos-h="left"] { justify-content: flex-start; }

.pileIcon > .layer.mobile[data-pos-h="center"] { justify-content: center; }

.pileIcon > .layer.mobile[data-pos-h="right"] { justify-content: flex-end; }

.pileIcon > .layer.mobile[data-pos-v="top"] { align-items: flex-start; }

.pileIcon > .layer.mobile[data-pos-v="center"] { align-items: center; }

.pileIcon > .layer.mobile[data-pos-v="bottom"] { align-items: flex-end; } </style>