Giter Club home page Giter Club logo

former-js's Introduction

Former Js

Former Js - is a free and most modern framework designed to make form development simple. It is intended to make forms as responsive and good-looking as possible. Former JS is compatible with all platforms as well as modern browsers although is not available via CDN for the time being. Former was developed by Anthony Saah.

Getting Started

Former JS can be accessed Gitub. The library can easily be linked to your projects with ease. Just pull or download the required files and link them to your project.

Linking Former JS

You can link either the main former file (former.js) or the minified version (former.min.js)

<script src='former-js/src/former.js'></script>

Or the minified version

<script src='former-js/src/former.min.js'></script>

The Css

In order to former to fully operate you need to also need to link the stylesheets provided

<link rel='stylesheet' href='former-js/src/css/former.css'>

Or the minified version

html <link rel='stylesheet' href='former-js/src/css/former.min.css'>

Creating a One Page Form

Former JS can be used to create a form which occupies the entire width and height of a page to facilitate design. 1.First Create a container with class='former-page' .

<div class='former-page former-bg-red'>
  
</div>

You can add former utility classes to further customize your container - Utility Classes

  1. Create your form element with class='former-page'
  <div class='former-page former-bg-red'>
    <form class='former-form former-bg-white'>
      
    </form>
  </div>

Notice the former-bg-red and former-bg-white classes. Again, they are examples of utility classes for background colors. View More Background Classes

  1. Title and Subtitle ( Optional )
  <div class='former-page former-bg-red'>
    <form class='former-form former-bg-white'>
      <p class='former-title'>Login Form</p>
      <p class='former-subtitile>Connect to your Account</p>
    </form>
  </div>

Utitlity Classes

Utility Classes on Former JS help with basic styling and responsiveness for your project. They include properties such as backgrounds, colors, border-radius, box-shadows, text-shadows and more.

Background Color Classes

  .former-bg-dark
  .former-bg-yellow
  .former-bg-blue
  .former-bg-red
  .former-bg-green
  .former-bg-white

Text Color Classes

  .former-text-dark
  .former-text-yellow
  .former-text-blue
  .former-text-red
  .former-text-green
  .former-text-white

Box Shadow Classes

  .former-box-sm
  .former-box-md
  .former-box-lg
  .former-box-none

former-js's People

Contributors

thepapisogram avatar sumundi avatar

Watchers

James Cloos 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.