"myFle": {
"prefix": "fle",
"body": [
"display: flex;",
"align-items: ${1:center};",
"justify-content: ${2:space-between};"
],
"description": "myFle"
}
,
"myCenter": {
"prefix": "cen",
"body": [
"text-align: center;",
"line-height: ${1:100}${2:r}px;"
],
"description": "myCenter"
}
,
"ellipsis": {
"prefix": "ell",
"body": [
"width: ${1:100%};",
"overflow: hidden;",
"text-overflow: ellipsis;",
"white-space: nowrap;"
],
"description": "ellipsis"
}
,
"ellipsisMul": {
"prefix": "ells",
"body": [
"display: -webkit-box;",
"-webkit-box-orient: vertical;",
"-webkit-line-clamp: ${1:2};",
"overflow: hidden;"
],
"description": "ellipsisMul"
}
css用户代码片段
于 2022-05-28 08:36:55 首次发布