All Projects → hankchizljaw → Boilerform

hankchizljaw / Boilerform

Licence: mit
Boilerform is a little HTML and CSS boilerplate to take the pain away from working with forms.

Projects that are alternatives of or similar to Boilerform

Frontend Boilerplates
Collection of Boilerplates with ES6, Vue, React, Nuxt, TypeScript, SCSS, Nodejs. Using good practices and file structures to inspire your real projects.
Stars: ✭ 269 (-60.38%)
Mutual labels:  boilerplate, scss, bem
Static Html Webpack Boilerplate
🔮 modern tooling for old-school static webpage development
Stars: ✭ 226 (-66.72%)
Mutual labels:  boilerplate, scss
Webpack Pug Scss Boilerplate
📂 Webpack 4 based boilerplate for building apps
Stars: ✭ 135 (-80.12%)
Mutual labels:  boilerplate, scss
Swift Project Template
Script to easily create an iOS project base code!
Stars: ✭ 136 (-79.97%)
Mutual labels:  base, boilerplate
Peridot
A fast and powerful Vue.js PWA boilerplate
Stars: ✭ 111 (-83.65%)
Mutual labels:  boilerplate, scss
Fast
Develop, build, deploy, redeploy, and teardown frontend projects fast.
Stars: ✭ 126 (-81.44%)
Mutual labels:  boilerplate, scss
Skeleton Sass
Skeleton Sass is a highly modular version of Skeleton CSS
Stars: ✭ 151 (-77.76%)
Mutual labels:  boilerplate, scss
Wxapp Boilerplate
使用 webpack, babel, scss 开发的微信/支付宝小程序项目脚手架
Stars: ✭ 367 (-45.95%)
Mutual labels:  boilerplate, scss
Gulp Scss Starter
Frontend development with pleasure. SCSS version
Stars: ✭ 339 (-50.07%)
Mutual labels:  scss, bem
Pug Starter
Simple pug (jade) starter [framework] enabling faster delivery of HTML & CSS projects to a private server and/or automatic deployment of GitHub pages.
Stars: ✭ 328 (-51.69%)
Mutual labels:  scss, bem
Light Blue Dashboard
🔥 Free and open-source admin dashboard template built with Bootstrap
Stars: ✭ 110 (-83.8%)
Mutual labels:  boilerplate, scss
Nth Start Project
Startkit for HTML / CSS / JS pages layout.
Stars: ✭ 578 (-14.87%)
Mutual labels:  scss, bem
Bootstrap 4 Sass Gulp 4 Boilerplate
A Bootstrap 4.5.2 boilerplate with font-awesome, sass, gulp 4 tasks
Stars: ✭ 103 (-84.83%)
Mutual labels:  boilerplate, scss
Nextjs Ts
Opinionated Next JS project boilerplate with TypeScript and Redux
Stars: ✭ 134 (-80.27%)
Mutual labels:  boilerplate, scss
Frontie Webpack
Front-end Boilerplate | Gulp 4 + Webpack 4 + Babel + ITCSS Architecture + BEM Methodology + Twig.js
Stars: ✭ 102 (-84.98%)
Mutual labels:  boilerplate, bem
Cra Boilerplate
Up to date: This project is an Create React App - v2.1.1 boilerplate with integration of Redux, React Router, Redux thunk & Reactstrap(Bootstrap v4)
Stars: ✭ 87 (-87.19%)
Mutual labels:  boilerplate, scss
Sing App
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
Stars: ✭ 1,187 (+74.82%)
Mutual labels:  boilerplate, scss
Pwa Boilerplate
✨ PWA Boilerplate is highly scalable and is designed to help you kick-start your next project 🔭.
Stars: ✭ 82 (-87.92%)
Mutual labels:  boilerplate, scss
Project Stub
deps
Stars: ✭ 300 (-55.82%)
Mutual labels:  boilerplate, bem
Motherplate
A bare bones responsive SCSS boilerplate for web designers
Stars: ✭ 392 (-42.27%)
Mutual labels:  boilerplate, scss

Boilerform

The Boilerform logo

Boilerform is a little HTML and CSS boilerplate to take the pain away from working with forms.

By providing baseline BEM structured CSS and appropriate attributes on elements: Boilerform gives you a head start building forms in the best possible way with a view to being dropped into most projects.

The idea was first thought-up by @chriscoyier on CSS Tricks.

🌍 https://boilerform.hankchizljaw.com

Getting started

Boilerform is designed to be straight-forward to implement. In its most basic form, you can drop a CSS file into your head with the following snippet:

<link rel="stylesheet" media="all" href="https://cdn.jsdelivr.net/gh/hankchizljaw/[email protected]/dist/css/boilerform.min.css?v=1.1.1" />

Then all you need to do is wrap your elements in a .boilerform wrapper. It could be something like this:

<div class="boilerform">
    <!-- Add all of your boilerform elements in here 👍 -->
</div>

You can also take compiled CSS and HTML from the dist directory of this repository, if that's what you prefer.

If you want a bit more control, you can work with the Sass and Pattern Library. This is where the source of Boilerform lives.

To compile assets, you can run the following commands in your terminal:

  • npm run watch will compile your assets and watch for further changes
  • npm run build will compile your assets into a production ready state in the dist directory

The pattern library is powered by Astrum. You can find detailed documentation here.

Validation interface

There's a basic validation interface available with Boilerform which extends the native HTML validation facility with a few visual tweaks.

Getting started

First of all, you need the JavaScript in your project. You can either take the source code and add to your project, or add the dist version to bottom of your page.

<script src="https://cdn.jsdelivr.net/gh/hankchizljaw/[email protected]/dist/js/boilerform.min.js?v=1.1.1" async defer></script>

Now that you've got the script, it'll work, as long as your elements have the required attribute, which will allow them to fire an invalid event. You'll also need to make sure your <form> elements either live in a .boilerform parent element or have the .boilerform class.


Made with ❤️ by HankChizlJaw and friends.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].