Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
correct width
auto
100%
900px
1024px
767px
View Results
 
  • Locked thread
Valeyard
Mar 30, 2012


Grimey Drawer
wish this thread element had a width of 0

Adbot
ADBOT LOVES YOU

Valeyard
Mar 30, 2012


Grimey Drawer

pram posted:

i looked at the actual values i use, so this is my answer op

code:

$screenSmall: "screen and (min-width: 50em)";
$screenMedium: "screen and (min-width: 65em)";
$screenLarge: "screen and (min-width: 80em)";

hey, hey old man, get this: BOOTSTRAP!!!

Valeyard
Mar 30, 2012


Grimey Drawer

indigi posted:

you're the only div here, mate.

Valeyard
Mar 30, 2012


Grimey Drawer

pram posted:

what about it .. ?

you were pretty much defining bootstraps media queries, except less standardised

Valeyard
Mar 30, 2012


Grimey Drawer

pram posted:

you literally have no idea what youre talking about lol

why roll your own setup using em measurements when there already exists a great scaffolding system

Valeyard
Mar 30, 2012


Grimey Drawer

pram posted:

i use a sass pattern where elements just follows from some base thing. designing your layout around bootstrap or any grid is lazy entry level poo poo when its pretty much a triviality

code:

.thread {
    @include mediaWidths;

    & .thing {
        margin-bottom: 2em;

        @media #{$screenSmall} {
            float: right;
        }

    }
}


wait a minute, you do web dev???

Adbot
ADBOT LOVES YOU

Valeyard
Mar 30, 2012


Grimey Drawer

pram posted:

mercifully its not my job

thank stebe for that

  • Locked thread