AGENT SKILL
css
CSS styling for web pages including selectors, flexbox, grid, and animations
使用场景前端开发
- License 许可
- MIT
- 所属仓库
- NeuralBlitz/Mito
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- css
- license
- MIT
- metadata
- { "audience": "developers", "category": "web-development" }
- description
- CSS styling for web pages including selectors, flexbox, grid, and animations
- compatibility
- opencode
03 SKILL.md 正文
What I do
- Style web pages with CSS
- Use flexbox and grid layouts
- Create responsive designs
- Implement animations and transitions
- Use CSS custom properties (variables)
- Handle pseudo-classes and pseudo-elements
- Optimize CSS for performance
When to use me
When styling web pages or building UI components.
Selectors
/* 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
Flexbox
.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;
}
Grid
.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto;
gap: 1rem;
}
.item {
grid-column: 1 / 3;
grid-row: 1 / 2;
}
Variables
:root {
--primary: #007bff;
--spacing: 1rem;
}
.button {
background: var(--primary);
padding: var(--spacing);
}
Animations
@keyframes slideIn {
from { transform: translateX(-100%); }
to { transform: translateX(0); }
}
.element {
animation: slideIn 0.3s ease-in-out;
transition: all 0.2s ease;
}
04 同仓库更多 Skills
wireless-communications
Wireless systems, mobile networks, and 5G/6G
★ 0
websockets
WebSocket implementation and best practices
★ 0
vulnerability-auditing
Vulnerability assessment and auditing
★ 0
vulnerability-assessment
Finding and assessing security vulnerabilities
★ 0
vlsi-design
Very-Large-Scale Integration circuit design and semiconductor engineering
★ 0
unsupervised
Unsupervised learning concepts
★ 0