Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Inverted Triangle CSS architecture boilerplate.
ITCSS Boilerplate is an open-source CSS architecture boilerplate that scaffolds projects around Harry Roberts' Inverted Triangle CSS (ITCSS) methodology, providing a Gulp-powered build system for development and production-ready minified stylesheets.
ITCSS Boilerplate is a starter template for front-end projects that organizes stylesheets using the Inverted Triangle CSS architecture popularized by Harry Roberts. It takes an empty project directory and adds a Gulp-based workflow where developers run yarn install, then use gulp to start a local server, gulp build for a development build, and gulp build --dist for a production build with minification. The project is hosted at userx.co.za and credits Harry Roberts and Normalize.css in its documentation.
gulp command starts a local development server for live previewing.gulp build produces an unminified development build for debugging.gulp build --dist outputs minified assets for deployment.yarn install, making the setup reproducible.yarn install and gulp to spin up a local development server with ITCSS-structured styles ready to edit.gulp build --dist to generate minified production CSS for uploading to a web server.After cloning the repository, you install dependencies with yarn install. The gulp command launches a local server for development, gulp build creates a development build, and gulp build --dist produces a minified production build. The template relies on Gulp task automation to process the source styles and copy assets into a distributable folder.
Inverted Triangle CSS (ITCSS) is a CSS architecture created by Harry Roberts. It organizes stylesheets in a layered, inverted-triangle shape, starting with broad generic rules like resets and moving toward narrow, specific component styles.
gulp command do?The gulp command starts a local development server according to the boilerplate's setup instructions. It is intended for live development after running yarn install.
Run gulp build --dist after installing dependencies. This command builds the project with minification enabled, producing files suitable for deployment.
