Giter Club home page Giter Club logo

buttercake's Introduction

Butter Cake is an open source CSS framework based on Flexbox, Giving Developer's Flexibility & less Classes to create components and included 100+ helper Classes to get the task done easily without writing too many lines of css.

Requirements

  • Jquery

Usages

Download Butter Cake files, and include css and js file

<link rel="stylesheet" href="css/butterCake.css">

.................

<script src="js/butterCake.js"></script>

Grid

<div class="row"> 
  
  <div class="col-md-6">
  ..........
  </div>
  
  <div class="col-md-6">
  ..........
  </div>
  
</div>

Grid - Classes

  • .row
  • .col
  • .col-md-x
  • .col-lg-x
  • .col-xl-x

Utilities - Helper Classes

Wrappers
  • .container
  • .container-fluid
Display Property
  • .d-none
  • .d-block
  • .d-inline
  • .d-inline-block
  • .d-flex or .flex
Background Color
  • .bg-primary
  • .bg-dark
  • .bg-light
  • .bg-white
Text Color
  • .text-primary
  • .text-dark
  • .text-light
  • .text-white
Button
  • .btn-primary

  • .btn-secondary

  • .btn-success

  • .btn-warning

  • .btn-danger

  • .btn-dark

  • .btn-light

  • .btn-white

  • .rounded (rounded)

  • .outline (outline)

SAMPLE BUTTONS USAGE

<!-- REGULAR BUTTONS -->
            <div class="container-fluid py-1">
                <a class="btn-primary" href="#!">button</a>
            </div>

            <!-- ROUNDED BUTTONS -->
            <div class="container-fluid py-1">
                <a class="btn-primary rounded" href="#!">button</a>
            </div>

            <!-- OUTLINE BUTTONS -->
            <div class="container-fluid py-1">
                <a class="btn-primary outline" href="#!">button</a>
             </div>

Padding
  • p-0 to 10 ( 0 - 100px (xy))
  • pt-0 to 10 ( 0 - 100px (padding top))
  • pb-0 to 10 ( 0 - 100px (padding bottom))
  • pl-0 to 10 ( 0 - 100px (padding left))
  • pr-0 to 10 ( 0 - 100px (padding right))

Margin
  • .mx-auto ( margin: 0 auto)
  • .ml-auto ( margin-left: auto)
  • .mr-auto ( margin-right: auto)
  • .m-0 to 10 ( 0 - 100px (xy))
  • .mt-0 to 10 ( 0 - 100px (margin top))
  • .mb-0 to 10 ( 0 - 100px (margin bottom))
  • .ml-0 to 10 ( 0 - 100px (margin left))
  • .mr-0 to 10 ( 0 - 100px (margin right))

Width
  • .w-100 (width: 100%)
Normal Image
  • .img-fluid
  • .img-rounded
  • .img-cirle
  • .img-cover
  • .img-contain
Background Image
  • .bg-cover
  • .bg-fixed
List
  • .list-unstyled
Shadow
  • .shadow
Border Radius
  • .radius-none
Border
  • .border-none
  • .border-top-none
  • .border-bottom-none
  • .border-left-none
  • .border-right-none
Font
  • .text-center
  • .text-left
  • .text-right
  • .capitalize
  • .uppercase
  • .lowercase

Font Weight

  • .font-normal
  • .font-bold
  • .weight-100 to .weight-900

Font Sizes

  • .display-1
  • .display-2
  • .display-3
  • .display-4
Float
  • .float-left
  • .float-right
  • .clearfix
Flexbox

Jusitify

  • .flex-justify-start
  • .flex-justify-center
  • .flex-justify-end
  • .flex-justify-between
  • .flex-justify-around
  • .flex-justify-evenly
  • .flex-justify-baseline

Align

  • .flex-align-start
  • .flex-align-center
  • .flex-align-end
  • .flex-align-stretch

Flex align center - Vertically & Horizontally

  • .flex-center-center

Flex Direction

  • .flex-column
  • .flex-row
Disable
  • .disabled
  • disabled (attribute)

Butter Cake is built using SASS, Used Prepos to compile

ko-fi

Supporters Name Will Be Included.
I will spend most of my time improving the ButterCake core and its documentation.

Thank you!

buttercake's People

Contributors

himasrafeek avatar

Watchers

James Cloos avatar Abisoye Bello 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.