GithubHelp home page GithubHelp logo

lesjames / breakpoint Goto Github PK

View Code? Open in Web Editor NEW
302.0 302.0 38.0 1.55 MB

Breakpoint is a column based media query generator and responsive image framework.

License: MIT License

JavaScript 65.05% CSS 34.95%

breakpoint's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

breakpoint's Issues

Wrapper class

Consider adding an argument that can turn off the wrapper class.

No mans land

Using the sandbox mixin with the regular bp mixin can create a 1px no mans land.

Create Separate Changelog

Readme should just be a feature overview. Changelog should be separate file and documentation should go in Wiki.

Full bleed backgrounds

There doesn't seem to be a non-hacky way of doing a full bleed (100% width) background colour / texture, for example the the top header on github. The width and padding on .wrapper makes it impossible. Any thoughts on a work around?

Refactor Sass

To match recent naming changes shown in CSS Tricks article

Font Family on Body

Changing the body font family can break the grid due to changes in letter spacing. Try setting grid and grid cell to a consistant font family?

BEM

Convert grid classes to BEM syntax

Restructure Breakpoint Core

Create breakpoint folder to separate out breakpoint core. Move and consolidate normalize and H5BP styles.

Create Development Guidelines

Version numbering, tagging, branching/merging, documentation, changelog and public API changes need to be standardized moving forward. Create a page in the wiki with a process for updating BP.

Base Font Size

Changing the base font size can effect mq sizing because the em() function doesn't account for it. Try making base font size a variable that the em function uses.

Breakpoints and components

Quick question on best practice with the SASS structure. Do you add breakpoints to the components.scss? Sometimes I find that a component will need to change depending on the page width and it seems odd to spread the code over two files (structure and components).

New icons

Recreate icon font so background is knocked out with icon

Pixel ratio MQ

Add all vendor prefixed mqs

@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {  }

Pass MQ Label to Callback

It may be necessary to execute scripts depending on what layout is active. You should be able to fire a callback without having to tie it to an image resize callback.

Pixel Ratio MQ

Rethink MQ so that it's boolean for hi res.

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { @content }

Add Bump Mixin

Create a mixin that will bump the font size of the root to a percentage passed through an argument. Maybe pair it with the sandbox since you usually don't want a bump to cascade.

Kill Float Mixin

Add a Mixin that sets float none and zero margin left when a containers children shrink to the point of needing a single column

error on Line 45 of '_grid-helpers.scss'

I'm running into this error while trying to compile (in CodeKit.)

(Line 45 of _grid-helpers.scss: Mixin 'breakpoint-extras' is missing argument $grid-overlay.)

I went ahead and simply added said argument, and everything compiled correctly after doing so. I'm not sure if it's a general error or something CodeKit specific.

JSON var export

Have the breakpoint label list exported as a string in json format

Image Fallback

If no fallback image is defined breakpoint should display none the image.

Need Demo Site

Need to create a demo page that shows grid system in use.

No MQ Support

Redo this...

if(!Modernizr.mq('(min-width: 0px)')) {
  // alert('Fallback for no MQ');
}

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.