Is there such a CSS framework? [closed]
Asked Answered
I

2

6

I'm searching for a CSS framework that is responsive, large (more than 1000px), and where I can do the folowing :

Large design :

large design

Normal design :

normal design

Mobile design :

mobile design

Any suggestions ? I have tried 960.gs, Titan framework, 1140 css grid, and the Golden Grid System, but I'm not sure I can do everything I want in any of them.

Izaguirre answered 10/5, 2012 at 13:8 Comment(3)
is there a special reason why it must be a framework and you can't make a tailored solution?Erwinery
getskeleton.com, twitter.github.com/bootstrapJink
Not really.. I'm just new to grid systems and wanted to use something that's already in use and polishedIzaguirre
H
4

You want to serve different css by detecting the screen size.

This tool does it: Adapt.js (Take a look at Less too)

With Adapt.js you can do stuff like this:

// Edit to suit your needs.
var ADAPT_CONFIG = {
  // Where is your CSS?
  path: 'assets/css/',

  // false = Only run once, when page first loads.
  // true = Change on window resize and page tilt.
  dynamic: true,

  // Optional callback... myCallback(i, width)
  callback: myCallback,

  // First range entry is the minimum.
  // Last range entry is the maximum.
  // Separate ranges by "to" keyword.
  range: [
    '0px    to 760px  = mobile.css',
    '760px  to 980px  = 720.css',
    '980px  to 1280px = 960.css',
    '1280px to 1600px = 1200.css',
    '1600px to 1920px = 1560.css',
    '1940px to 2540px = 1920.css',
    '2540px           = 2520.css'
  ]
};
Hypothec answered 10/5, 2012 at 13:16 Comment(3)
what about bootstrap? though not sure if it is only responsive up to 940px? worth a look thoughMouseear
Yeah I bootstrap is not wide enoughIzaguirre
I will try doing it without a framework and/or using Adapt.jsIzaguirre
R
4

ooh what you need is Css3 media queries..

http://ie.microsoft.com/testdrive/HTML5/CSS3MediaQueries/

Check the link

Rostrum answered 10/5, 2012 at 13:12 Comment(0)
H
4

You want to serve different css by detecting the screen size.

This tool does it: Adapt.js (Take a look at Less too)

With Adapt.js you can do stuff like this:

// Edit to suit your needs.
var ADAPT_CONFIG = {
  // Where is your CSS?
  path: 'assets/css/',

  // false = Only run once, when page first loads.
  // true = Change on window resize and page tilt.
  dynamic: true,

  // Optional callback... myCallback(i, width)
  callback: myCallback,

  // First range entry is the minimum.
  // Last range entry is the maximum.
  // Separate ranges by "to" keyword.
  range: [
    '0px    to 760px  = mobile.css',
    '760px  to 980px  = 720.css',
    '980px  to 1280px = 960.css',
    '1280px to 1600px = 1200.css',
    '1600px to 1920px = 1560.css',
    '1940px to 2540px = 1920.css',
    '2540px           = 2520.css'
  ]
};
Hypothec answered 10/5, 2012 at 13:16 Comment(3)
what about bootstrap? though not sure if it is only responsive up to 940px? worth a look thoughMouseear
Yeah I bootstrap is not wide enoughIzaguirre
I will try doing it without a framework and/or using Adapt.jsIzaguirre

© 2022 - 2024 — McMap. All rights reserved.