@roadtrip/css
v4.4.0
Published
CSS framework for Roadtrip Design System
Downloads
15,712
Maintainers
Readme
:blue_book: Documentation
Our documentation site lives at design.mobivia.com. You'll be able to find detailed documentation on getting started, all of the components, our themes, our guidelines, and more.
:package: Installation
With NPM
Before moving further, please make sure you have Node.js installed on your machine. You can install the latest version through their website.
If you’re planning on using our CSS framework in a project that doesn’t yet use Node Package Manager, you’ll have to first create a package.json file. To do this, run npm init
and follow the steps provided.
Run in your project or website root directory (where package.json lives):
npm install @roadtrip/css --save
In the main file of you app, you can now import the CSS to load it in you app.
import "@roadtrip/css/dist/roadtrip.min.css";
with CDN
CSS can also be served from a CDN by adding the code in the head
of you html file. Just specify a version in the URL like the following.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@roadtrip/[email protected]/dist/roadtrip.min.css" />
:rocket: Usage
When the framework is loaded, you can finally use the prebuild classes.
<button class="btn btn-secondary">Click me!</button>
You can find the list of all our components with their markup already available in our documentation.
:computer: Contributing
Please take a look at our contributing guidelines if you're interested in helping!
:newspaper: Changelog
Find all the latest changes in our changelog.
:page_with_curl: License
Copyright © 2021 Mobivia.
Distributed under Apache-2.0 license.