基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ffsshhttiikk/opencode-agents-skills --skill css命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | css |
| description | CSS styling for web pages including selectors, flexbox, grid, and animations |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"developers","category":"web-development"} |
When styling web pages or building UI components.
/* Basic */
p { color: blue; }
.class { font-size: 16px; }
#id { margin: 0; }
/* Combinators */
div p { } /* descendant */
div > p { } /* child */
p + p { } /* adjacent sibling */
p ~ p { } /* general sibling */
/* Pseudo-classes */
:hover :focus :active :visited
:first-child :last-child :nth-child(2n)
:not(.active) :checked :disabled
/* Pseudo-elements */
::before ::after ::first-letter ::first-line ::selection
.container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.item {
flex: 1 1 auto;
order: 1;
align-self: center;
}
.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto;
gap: 1rem;
}
.item {
grid-column: 1 / 3;
grid-row: 1 / 2;
}
:root {
--primary: #007bff;
--spacing: 1rem;
}
.button {
background: var(--primary);
padding: var(--spacing);
}
@keyframes slideIn {
from { transform: translateX(-100%); }
to { transform: translateX(0); }
}
.element {
animation: slideIn 0.3s ease-in-out;
transition: all 0.2s ease;
}