Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/michaelcurrin/css-frameworks-demo

Demo of CSS components from Bootstrap and Bulma frameworks.
https://github.com/michaelcurrin/css-frameworks-demo

bootstrap bulma css css-frameworks demo github-pages jekyll

Last synced: about 1 month ago
JSON representation

Demo of CSS components from Bootstrap and Bulma frameworks.

Awesome Lists containing this project

README

        

# CSS Frameworks Jekyll Demo
> Demo of CSS components from Bootstrap and Bulma frameworks in a Jekyll site

[![Made with Jekyll](https://img.shields.io/badge/jekyll-3.9-blue?logo=jekyll&logoColor=white)](https://jekyllrb.com)
[![Llicense](https://img.shields.io/badge/License-MIT-blue)](#license)

Using a CSS framework gives you some benefits:

- Focus on your content logic rather than building and tweaking CSS from scratch.
- Write less code - use existing components and styling.
- Customize components using classes which use existing CSS.
- Get a mobile responsiveness experience easily.

This project's doc site is built in Jekyll for presentation, but if you don't use Jekyll that's fine as you can just focus on the content you see in the tutorial and demos.

If you are just here to see how to add Bootstrap or Bulma styles to your HTML, see the [\_includes](/_includes/) directory. That includes some content which gets loaded into the `head` HTML tag.

**Table of contents:**

- [Resources](#resources)
- [Set up on Github Pages](#setup-on-github-pages)
- [Installation](#installation)
- [Clone](#clone)
- [System dependencies](#system-dependencies)
- [Project dependencies](#project-dependencies)
- [Run](#run)
- [License](#license)

## Resources

### Bootstrap

Bootstrap is a commonly used CSS framework.

- [Official homepage](https://getbootstrap.com)
- [Get Started](https://getbootstrap.com/docs/4.4/getting-started/introduction/)
- Tutorials
- [Bootstrap Get Started](https://www.w3schools.com/bootstrap4/bootstrap_get_started.asp) on W3 Schools.

### Bulma

Bulma is also popular but is said to be lighter to load and simpler to use that Bulma.

Features - from [article](https://dev.to/sm0ke/bulma-css-a-tutorial-for-beginners-af2):

> - Flexbox based: Makes creating grid items and vertically aligned things really easy
> - Modular: Built with Sass. Only import the features that you'll use for your project. Bulma consists of 39 .sass files that you can import individually.
> - Small footprint and no Javascript dependency. Bulma comes in a single compiled CSS usable via nom install, CDN or local usage.
> - Mobile first framework.

- [Official homepage](https://bulma.io)
- [Get Started](https://bulma.io/documentation/overview/start/)
- [Documentation](https://bulma.io/documentation/)
- Tutorials
- [Tutorial](https://www.tutorialspoint.com/bulma/index.htm) on [TutorialsPoint.com](https://www.tutorialspoint.com).
- [Learn Bulma in 5 minutes](https://www.freecodecamp.org/news/learn-bulma-in-5-minutes-ec5188c53e83/)
- [Bulma CSS - A tutorial for beginners](https://dev.to/sm0ke/bulma-css-a-tutorial-for-beginners-af2)
- CDN
- CDN JS
- [cdnjs.com/libraries/bulma](https://cdnjs.com/libraries/bulma)
- Example: [cdnjs.cloudflare.com/ajax/libs/bulma/0.8.0/css/bulma.min.css](https://cdnjs.cloudflare.com/ajax/libs/bulma/0.8.0/css/bulma.min.css)

Example of a simple Bulma page:

- `index.html`
```html



Hello Bulma!






Hello



Subtitle





```

## Set up remotely

### Github Pages

Fork this proejct.

Go to the Settings of the repo.

Enable _Github Pages_.

Find your URL and open it in the browser.

## Installation

Setup this project locally - instructions are for _Linux_ or _macOS_ systems.

### Clone

Optionally this to your own repo - either fork this repo or click _Use this Template_.

Then clone your repo or this one.

Navigate to the repo root directory locally.

You can view commands in the [Makefile](/Makefile) or continue.

```bash
$ make help
```

### System dependencies

Install [Jekyll](https://jekyllrb.com/) and [Bundler](https://bundler.io/) globally.

```bash
$ gem install jekyll bundler --user-install
```

### Project dependencies.

Install gems. If run repeatedly, this command will **not** upgrade gems.

```bash
$ make install
```

Run this command in future to upgrade to the latest gems.

```bash
$ make upgrade
```

## Run

```bash
$ make serve
```

Open the browser at:

- http://localhost:4000/

## License

Licensed under [MIT](/LICENSE).