All Projects → dmbdesignpdx → Flexr

dmbdesignpdx / Flexr

Licence: mit
Flexr is a responsive grid framework for modern browsers.

Projects that are alternatives of or similar to Flexr

Baseguide
Lightweight and robust CSS framework for prototyping and production code.
Stars: ✭ 127 (+2440%)
Mutual labels:  framework, grid
Blossom
A free open-source design framework for the modern web
Stars: ✭ 26 (+420%)
Mutual labels:  framework, grid
Gmdjs
Grid Material Design
Stars: ✭ 24 (+380%)
Mutual labels:  framework, grid
Lemon
🍋 Minimal and responsive CSS framework for fast building websites.
Stars: ✭ 51 (+920%)
Mutual labels:  framework, grid
Axentix
Axentix is an open source Framework based on CSS Grid using HTML, CSS and JS. The easy layout control and grid system makes it one of the most easy to learn framework.
Stars: ✭ 75 (+1400%)
Mutual labels:  framework, grid
Equalizecss
Css framework with grid based on flexboxes
Stars: ✭ 61 (+1120%)
Mutual labels:  framework, grid
Bojler
Bojler is an email framework
Stars: ✭ 885 (+17600%)
Mutual labels:  framework, grid
Framy Css
Very simple CSS Framework
Stars: ✭ 103 (+1960%)
Mutual labels:  framework, grid
Barekit
A bare minimum responsive framework
Stars: ✭ 201 (+3920%)
Mutual labels:  framework, grid
Swiftui
A collaborative list of awesome SwiftUI resources. Feel free to contribute!
Stars: ✭ 774 (+15380%)
Mutual labels:  framework
Catberry
Catberry is an isomorphic framework for building universal front-end apps using components, Flux architecture and progressive rendering.
Stars: ✭ 793 (+15760%)
Mutual labels:  framework
Bing.netcore
Bing是基于 .net core 2.0 的框架,旨在提升团队的开发输出能力,由常用公共操作类(工具类、帮助类)、分层架构基类,第三方组件封装,第三方业务接口封装等组成。
Stars: ✭ 758 (+15060%)
Mutual labels:  framework
Vuesax Next
Vuesax v4: framework components for Vuejs
Stars: ✭ 773 (+15360%)
Mutual labels:  framework
Deno Drash
A REST microframework for Deno's HTTP server with zero 3rd party dependencies.
Stars: ✭ 795 (+15800%)
Mutual labels:  framework
Creeper
🐾 Creeper - The Next Generation Crawler Framework (Go)
Stars: ✭ 762 (+15140%)
Mutual labels:  framework
Udocker
A basic user tool to execute simple docker containers in batch or interactive systems without root privileges
Stars: ✭ 802 (+15940%)
Mutual labels:  grid
Tg2
Python web framework with full-stack layer implemented on top of a microframework core with support for MongoDB, Pluggable Applications and autogenerated Admin
Stars: ✭ 756 (+15020%)
Mutual labels:  framework
Reactiveui
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. ReactiveUI allows you to abstract mutable state away from your user interfaces, express the idea around a feature in one readable place and improve the testability of your application.
Stars: ✭ 6,709 (+134080%)
Mutual labels:  framework
Goyave
🍐 Elegant Golang REST API Framework
Stars: ✭ 811 (+16120%)
Mutual labels:  framework
Vue Bootstrap With Material Design
Vue Bootstrap with Material Design - Powerful and free UI KIT
Stars: ✭ 803 (+15960%)
Mutual labels:  framework

Flexr Grid - Version 2.1.0

Flexr is a responsive grid for those who just want a grid. Created by Daniel Blake, a front end web designer, with a focus on the digital grid layout and its response to different screens. It features three ways columns react: expanding, shrinking and stretching.

Column/Gutter Widths and Break Points

Breakpoint Name Breakpoint Value Column Width Gutter Width
Desktop 1180px + ~68px 28px
Tablet Landscape 1180px ~60px 28px
Tablet Portrait 940px ~44px 24px
Phone Landscape 740px ~31px 16px
Phone Portrait 470px auto 16px

First Thing's First

You gotta link the Flexr CSS before your own CSS:

<head>

   ...

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

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

   ...

</head>

Setting Up

Here's the basic structure:

<container>

   <row>

      <column(s)>

         your stuff!

      </column(s)>

   </row>

</container>

A container can be practically anything: a div, section, header, nav, etc., even the body; just something to contain your rows and columns. It doesn't even need any special class.

Rows and columns can also be practically anything: you can have a ul as a row, and its li elements as columns.

One Class Will Do

Creating a column requires only one class col- defined by its size [1&ndash;12] with no need for any offset columns.

<div class="row">

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

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

</div>

Flexr is a 12 column grid.

If you'd like to use a column with a width that you define (i.e. a logo), simply give the column the class col-x and define the width in your css.

Defining Columns

Shrinking Columns is the default type of collapsing.

To create Expanding Columns, all you need to do is add the expanding class expand in the parent row:

<div class="row expand">

   <div class="col-3">...</div>

   <div class="col-3">...</div>

   <div class="col-3">...</div>

   <div class="col-3">...</div>

</div>

The only canidates for Expanding Columns are the one, two, and three columns. When the screen reduces to the size of tablet portrait, these columns will expand automatically for smaller screens. This will only work if the row is evenly populated with these columns.

To create Stretching Columns, just add the stretching class stretch in the parent row. Stretching Columns make their parent row full width to its parent, and divide the space between themselves equally with no gutters.

Switching Column Sizes

Sometimes at certain screen sizes you'd like the column to be specifically bigger or smaller. Flexr has four special prefixes for switching that you can use. All you need to do is attach the prefix that correlates with the break point you want to the column size you want it to change to.

tl-[col]
Tablet Landscape
tp-[col]
Tablet Portrait
pl-[col]
Phone Landscape
pp-[col]
Phone Portrait

Where [col] follows the same column class name structure:

<div class="row">

   <div class="col-5 tp-col-6">...</div>

   <div class="col-7 tp-col-6">...</div>

</div>

Justifying Columns

The default justification of how the columns populate is centered. To change the justifaction, just add the class left for left justification or right for right justification to the parent row. For example, left-justification:

<div class="row left">

   <div class="col-4">...</div>

</div>

Basic Site Example

<body>

   <header>

      <nav class="row">

         <div class="col-x">...</div>

         <ul class="col-5">...</ul>

      </nav>

   </header>

    <section>

      <div class="row">

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

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

      </div>

   </section>

   <section>

      <div class="row expand">

         <div class="col-3">...</div>

         <div class="col-3">...</div>

         <div class="col-3">...</div>

         <div class="col-3">...</div>

      </div>

   </section>

   <footer>

      <div class="row">

         <div class="col-8">...</div>

         <div class="col-3">...</div>

      </div>

   </footer>

</body>

Flexr Badges

If you'd like to indicate on your site that you're using Flexr, here are some badges you can link to:

http://flexrgrid.com/host/flexr-logo-use.svg

http://flexrgrid.com/host/flexr-logo-use-black.svg

http://flexrgrid.com/host/flexr-logo-use-white.svg

Current Release Info

Version: 2.1.0

Date: December 3, 2017

Notes: Adds classes 'left' and 'right'.

File Size: 3.1KB

Future Release Updates: Sass mixins and functions will be available soon.

Deprecation Warning: Class names 'exp', 'fill', 'jus-l', and 'jus-r' will become deprecated by Version 3.0.0; please use 'expand', 'stretch', 'left', and 'right', respectively, instead.

*Be sure to check back to see if you're using the current version!

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].