Stacks
You’re looking at Stack Overflow’s CSS and Design Pattern Library. Stacks is an atomic CSS library with classes and components for rapidly building Stack Overflow.
Installing
If you’re working on Stack Overflow or Stack Overflow Careers, Stacks is already in production and you can use everything documented at https://stackoverflow.design/.
If you’d like to install Stacks elsewhere—A blog, a prototype, or a Codepen—Stacks is available as a standalone library that’s delivered via NPM. This library includes everything within the /lib/
directory.
npm install --save-dev @stackoverflow/stacks
If you’d rather skip installing a dependency, you can include Stacks as you would normally include other CSS file. This relies on Unpkg’s CDN, and is always in sync, and up to date with master
.
<link rel="stylesheet" href="https://unpkg.com/@stackoverflow/stacks" />
Documentation
Stacks’ documentation is hosted at https://stackoverflow.design/
Contributing
If you’d like to hack on Stacks and its documentation, check out our Contributing guide.