Git Product home page Git Product logo

crystalcoastframework's Introduction

About

Welcome to Crystal Coast. It's a light weight 12 column framework written in SASS. It's inspired by Bootstrap, but contains much fewer features. It's intended for smaller web applications and personal use. The aim of this framework is to force little design on the website itself. My main vision is to use it as a 'steketon' tool just to layout all the elements on a website and make them responsive.

At this point in time, it doesn't contain any javascript.

This is a student project for ICT Collage by Stefan Kupresak ( github dev-cyprium ).

It's used on a live web-site here as a project to lessons on course "Web design". You can check out the website here.

Preview

You can preview the examples:

Instalation

You can download the source from github and compile it with SASS, or use download the raw compiled ready to use css file (crystal-coast-min.css).

The project is broken down intro serval modules(components):

  • Grid
  • Reset
  • Typography
  • UI
  • Main

The compiled version creates one minified file containing all of the components. You can change which components to include in your project by downloading the src and exclude unwanted components from the main.scss file. To compile the the source you can use:

sass main.scss:output.css --style compressed

Warning!! Mixins are required in order for the other components to work. ( Also, they need to be included first ).

Guide

The Grid System

Crystal coast supports 12 based grid system. To use it, you need to have a container element and place the desired layout of columns inside. All the elements in the container MUST add up to 12. Supported responsive classes are:

  • m ( medium ) Example 1:
<div class="container">
  <div class="row">
    <div class="c-m-6">6 column span element</div>
    <div class="c-m-3">3 column span element</div>
    <div class="c-m-3">3 column span element</div>
  </div>
</div>	

Example 2:

<div class="container">
  <div class="row">
      <div class="c-m-2">2 column span element</div>
      <div class="c-m-8">8 column span element</div>
      <div class="c-m-2">2 column span element</div>
  </div>
</div>

Navigation bar

Crystal coast supports the main navigation bar. To use it, just add the class .navbar-main to the nav tag and nest your links in the <ul> <li> <a> tags. You can highlit any item in the navigation bar with the class .active added to the <a> tag.

The navigation bar isn't supported for mobile just yet.

Example:

  <nav class="navbar-main">
    <ul>
      <li><a href="#" class="active">Link 1</a></li>
      <li><a href="#">Link 2</a></li>
      <li><a href="#">Link 3</a></li>
      <li><a href="#">Link 4</a></li>
    </ul>
  </nav>

TODO: WRITE MORE

Change Log & download

Stable version: 1.0 beta download: src/minified

Change log:

version 1.0 beta

  • Add navigation bar
  • Move Mixins to a file including all mixins as helper functions
  • Remove unfinished responsive support tags (l, xl, s, xs)

TODO: WRITE

crystalcoastframework's People

Contributors

dev-cyprium avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.