0:04
[Music]
0:10
hey everybody so in this video we're
0:11
going to be looking at the measure stack
0:14
and so go into your Stacks project and
0:16
let's go ahead and let's look at this
0:19
first demo file this is the file that
0:21
actually ships with the product so here
0:24
we have uh two different measure stacks
0:26
on this page and the settings really
0:29
couldn't be any easier once you drag
0:31
your measure in you have to determine
0:33
whether or not you want that particular
0:34
measure to be a measuring a part of your
0:37
layout or the entire browser window and
0:41
basically once you throw it into um the
0:43
container or wherever you want you
0:45
choose whether or not you want to Target
0:47
the parent or Target the
0:50
browser so in this particular instance I
0:52
wanted to Target the width of this
0:54
container and in this one down here I
0:56
want to Target the width of the browser
0:58
okay now within the settings you can
1:00
choose whether or not you want to
1:01
measure the height or the width or both
1:05
and you can just simply click on both
1:06
those buttons to choose whichever ones
1:08
you want you can have one or both so the
1:11
next setting here is the rule sets and
1:14
what this does is as you know as you
1:17
resize um your browser window the
1:19
measure stack can change colors and
1:22
update breakpoint labels um based on
1:27
various rule sets now I have all of the
1:30
rule sets defined for all popular
1:32
Frameworks here we have Foundation 6 any
1:34
bootstrap related themes um source and
1:38
then I also have some interesting ones
1:39
for iOS devices and Android devices and
1:43
if you really want to you can actually
1:44
Define your own custom rule set as
1:46
well since I'm using Foundation right
1:49
now let's go ahead and look at that rule
1:50
set and uh you can turn on labels and
1:54
show the break points for that okay so
1:56
here we are in preview of the page we
1:58
were just looking at and if you no
1:59
notice down here on this one that shows
2:01
the whole browser I actually turned on
2:03
the label as well as the breakpoint okay
2:07
um I did not turn it on for this uh for
2:10
this container based measure okay um but
2:14
notice that I use the same rule set so
2:16
the colors will fluctuate the same so
2:19
our first breakpoint for this particular
2:22
rule set is 1024 that is a large device
2:25
in Foundation now if I go ahead and once
2:28
I get below 1024 we're getting there
2:32
there it goes so now I'm at 1023 at this
2:35
point I'm now at the medium break
2:37
point and I can see that my next break
2:40
point down is going to be 640 okay
2:43
because medium starts at 640 pixels so
2:46
let's keep going down and you notice
2:48
once we get below 640 we're now at the
2:51
small break point right so this is
2:54
really beneficial um and again these are
2:56
have been updated for all the rule sets
2:58
for all the major Frameworks
3:00
so that uh in the each breakpoint has a
3:02
custom color so you can easily see once
3:06
you've crossed a break point um by the
3:09
color changing of the actual measure
3:11
stack which is pretty cool now another
3:14
thing just some nice things sometimes
3:16
these measure Stacks can maybe get in
3:17
the way of your design when you're
3:19
previewing things just go ahead and
3:20
doubleclick those and you'll notice that
3:22
they kind of fade away they're still a
3:24
little bit visible because if you double
3:26
click them again they will actually be
3:28
displayed again so um really easy just
3:31
double click it'll hide all of a set
3:34
okay now here is a power user tip if you
3:36
hold down the shift key and double click
3:40
it will toggle all of the measure stacks
3:43
on the page so again hold down the shift
3:45
key on your keyboard double click and
3:47
then that will then unhide
3:51
everything now the last setting here is
3:53
allow publish now most of the time your
3:55
measure Stacks are only going to be on
3:57
preview um you don't necessarily need
3:59
need to publish these right uh I added
4:02
this setting cuz I needed to publish for
4:03
the demos um and maybe you want to
4:06
publish too for some other reason right
4:08
so um it is there as an option but if
4:11
you don't want this published on the
4:12
page just go ahead and make sure that
4:13
this is set to off now next up let's
4:17
just review The Measure Swatch really
4:19
quick um it's behaves pretty much
4:21
exactly like the measure stack the only
4:24
thing is you target using a class so all
4:27
the settings here you choose whether or
4:29
not you want measure width or height um
4:32
what your rule set is and then all your
4:34
labels and then go ahead and you define
4:37
what class you want and then you just
4:40
simply go to the particular container or
4:42
object or layout that you want to
4:43
measure and make sure that you add in
4:46
the measure
4:51
class and that's
4:58
it
4:59
[Music]