1
00:00:02,040 --> 00:00:04,560
So let's dive into this card now.

2
00:00:04,560 --> 00:00:08,180
And as I said, I want to get started with having a look

3
00:00:08,180 --> 00:00:10,319
at some size-related topics

4
00:00:10,319 --> 00:00:14,106
and also topics related to the space this card has

5
00:00:14,106 --> 00:00:18,340
and the space that we have on this card itself

6
00:00:18,340 --> 00:00:20,223
between the different elements.

7
00:00:21,370 --> 00:00:22,530
Now, to get started,

8
00:00:22,530 --> 00:00:24,589
you can see that this card is positioned in

9
00:00:24,589 --> 00:00:27,698
the middle of the page here, so to say.

10
00:00:27,698 --> 00:00:30,330
As you saw before, I zoomed in a bit,

11
00:00:30,330 --> 00:00:33,730
but even if I zoom back to a 100% zoom level,

12
00:00:33,730 --> 00:00:37,430
well, then it becomes even clearer this card has lots

13
00:00:37,430 --> 00:00:39,483
of space to the left and to the right.

14
00:00:40,340 --> 00:00:42,530
And now you might say, well, this makes sense

15
00:00:42,530 --> 00:00:43,859
because it's only one card.

16
00:00:43,859 --> 00:00:46,300
But even if the content of the page

17
00:00:46,300 --> 00:00:47,528
would be a different one,

18
00:00:47,528 --> 00:00:50,550
or if it would have multiple cards,

19
00:00:50,550 --> 00:00:53,232
well, I wouldn't put all cards next to each other

20
00:00:53,232 --> 00:00:55,830
to fill up the space from the left

21
00:00:55,830 --> 00:00:58,870
to the right order of the screen, so to say.

22
00:00:58,870 --> 00:01:00,560
Let me maybe zoom it in again

23
00:01:00,560 --> 00:01:02,710
to make it better readable for you.

24
00:01:02,710 --> 00:01:04,982
Because typically, nowadays at least,

25
00:01:04,982 --> 00:01:09,100
the convention is to give the page and the content

26
00:01:09,100 --> 00:01:12,640
of this page some space to the left and to the right.

27
00:01:12,640 --> 00:01:14,549
So kind of keep the content centered,

28
00:01:14,549 --> 00:01:17,976
even if we have very wide screens these days,

29
00:01:17,976 --> 00:01:21,453
don't fill all the space you have with content.

30
00:01:22,490 --> 00:01:24,650
To give you better example for this here,

31
00:01:24,650 --> 00:01:28,140
because the card, well, is a kind of limited example here,

32
00:01:28,140 --> 00:01:29,950
I opened Stripe here.

33
00:01:29,950 --> 00:01:33,750
Stripe.com, which manages payments for you on your websites

34
00:01:33,750 --> 00:01:35,590
for example, if you want to.

35
00:01:35,590 --> 00:01:38,140
And there you can also see that you have lots of space

36
00:01:38,140 --> 00:01:41,170
to the left, especially here in this upper part.

37
00:01:41,170 --> 00:01:42,769
But if you look at the nav bar,

38
00:01:42,769 --> 00:01:46,060
you see that the nav bar ends well here and there,

39
00:01:46,060 --> 00:01:48,655
so lots of space to the left and to the right.

40
00:01:48,655 --> 00:01:50,320
And if I scroll down,

41
00:01:50,320 --> 00:01:53,364
well you can see that we have the clear center focus

42
00:01:53,364 --> 00:01:56,363
of the content Stripe offers.

43
00:01:57,400 --> 00:01:59,810
Same thing is true by the way for Amazon.

44
00:01:59,810 --> 00:02:01,710
Not totally though,

45
00:02:01,710 --> 00:02:04,118
you can see that the nav bar at Amazon.com

46
00:02:04,118 --> 00:02:08,606
starts at the left and ends at the right of the screen word,

47
00:02:08,606 --> 00:02:11,237
but for the entire content of the page,

48
00:02:11,237 --> 00:02:12,820
let me scroll down here,

49
00:02:12,820 --> 00:02:16,150
you see that this is also focused on to the center

50
00:02:16,150 --> 00:02:17,580
of the screen;

51
00:02:17,580 --> 00:02:19,546
therefore, one thing to keep in mind is

52
00:02:19,546 --> 00:02:22,520
add some space to the left and to the right

53
00:02:22,520 --> 00:02:25,290
to keep the content centered a bit enough

54
00:02:25,290 --> 00:02:28,643
to load the entire screen with content.

55
00:02:29,603 --> 00:02:34,603
Talking about space, if you now look at the card itself,

56
00:02:34,640 --> 00:02:37,877
you can also find that spacing place an important role

57
00:02:37,877 --> 00:02:40,533
to achieve the look the card has now.

58
00:02:41,720 --> 00:02:45,028
If you, for example, go into our card container

59
00:02:45,028 --> 00:02:48,530
and go to our h1 element here,

60
00:02:48,530 --> 00:02:51,620
you see that we have a margin to the top and to the bottom

61
00:02:51,620 --> 00:02:55,160
and also some padding all around the content here,

62
00:02:55,160 --> 00:02:57,450
well, to have some distance to the left top

63
00:02:57,450 --> 00:02:58,940
and to the right,

64
00:02:58,940 --> 00:03:02,293
again, to give the content space.

65
00:03:02,293 --> 00:03:03,895
You should always try

66
00:03:03,895 --> 00:03:07,920
to give your content maybe even more space than needed

67
00:03:07,920 --> 00:03:10,430
when starting to design your website

68
00:03:10,430 --> 00:03:12,949
or the features of your website.

69
00:03:12,949 --> 00:03:15,870
You can always decrease some spaces,

70
00:03:15,870 --> 00:03:17,790
some margins, some padding,

71
00:03:17,790 --> 00:03:21,320
but to get started, give the content as much space

72
00:03:21,320 --> 00:03:22,290
as possible;

73
00:03:22,290 --> 00:03:25,250
because you will see at the end it gives it a better look,

74
00:03:25,250 --> 00:03:26,411
a more structured look,

75
00:03:26,411 --> 00:03:28,728
and also helps to digest information

76
00:03:28,728 --> 00:03:31,473
in an easier fashion.

77
00:03:31,473 --> 00:03:34,560
You can also see that the following element,

78
00:03:34,560 --> 00:03:35,750
the paragraph here,

79
00:03:35,750 --> 00:03:37,775
has a slight top margin

80
00:03:37,775 --> 00:03:42,310
which is equal to the bottom margin of the h1 element

81
00:03:42,310 --> 00:03:44,392
and then we have a bigger bottom margin.

82
00:03:44,392 --> 00:03:46,571
Why is this the case?

83
00:03:46,571 --> 00:03:50,835
Well because, we group elements together, so to say.

84
00:03:50,835 --> 00:03:53,050
The first part of this page,

85
00:03:53,050 --> 00:03:56,270
so the h1 element and the following paragraph here,

86
00:03:56,270 --> 00:03:59,550
are related to the monthly subscription in general

87
00:03:59,550 --> 00:04:01,750
and what the subscription is all about.

88
00:04:01,750 --> 00:04:05,500
So, this content kind of belongs together for the reader.

89
00:04:05,500 --> 00:04:08,100
We could also added a separate container

90
00:04:08,100 --> 00:04:09,720
for these elements by the way,

91
00:04:09,720 --> 00:04:11,980
just a little html topic here,

92
00:04:11,980 --> 00:04:14,450
but in this case we decided not to do that

93
00:04:14,450 --> 00:04:17,019
and keep it the way we have it right here.

94
00:04:17,019 --> 00:04:20,140
Nevertheless, with our design card

95
00:04:20,140 --> 00:04:22,640
we can now bring this content more together

96
00:04:22,640 --> 00:04:25,430
and establish a connection between the headline

97
00:04:25,430 --> 00:04:28,327
and the corresponding text below it.

98
00:04:28,327 --> 00:04:32,020
However, the card info element here

99
00:04:32,020 --> 00:04:33,896
has a larger bottom margin

100
00:04:33,896 --> 00:04:37,090
because the next information is not related

101
00:04:37,090 --> 00:04:40,230
to the subscription in general, it is related

102
00:04:40,230 --> 00:04:42,023
to the pricing of the subscription.

103
00:04:42,023 --> 00:04:45,110
Therefore, if we check the price you'll see the price

104
00:04:45,110 --> 00:04:46,916
also has this top margin;

105
00:04:46,916 --> 00:04:50,330
and therefore, it shows us that this information

106
00:04:50,330 --> 00:04:52,942
is separated from the previous one.

107
00:04:52,942 --> 00:04:56,430
If we look at the paragraph below the price though,

108
00:04:56,430 --> 00:05:01,170
this one here, you see that this has a smaller top margin

109
00:05:01,170 --> 00:05:04,761
because this information is all about the pricing;

110
00:05:04,761 --> 00:05:06,900
so, it explains how the payment works

111
00:05:06,900 --> 00:05:10,670
and that in this case it is a recurring payment.

112
00:05:10,670 --> 00:05:14,460
At the bottom, this element has a bigger margin again.

113
00:05:14,460 --> 00:05:15,293
Why?

114
00:05:15,293 --> 00:05:16,550
Well, we know it already now

115
00:05:16,550 --> 00:05:19,136
because the next div, which is a container again,

116
00:05:19,136 --> 00:05:23,770
holds information that provides more information

117
00:05:23,770 --> 00:05:25,550
about the subscription.

118
00:05:25,550 --> 00:05:29,180
So, we have the general subscription information up here,

119
00:05:29,180 --> 00:05:30,830
we have the pricing information

120
00:05:30,830 --> 00:05:32,405
as a second group of elements,

121
00:05:32,405 --> 00:05:35,700
and then we have the third group, so to say -whoops!

122
00:05:35,700 --> 00:05:36,630
This one here,

123
00:05:36,630 --> 00:05:40,100
which adds more details about the subscription.

124
00:05:40,100 --> 00:05:41,660
And with adding the space here,

125
00:05:41,660 --> 00:05:45,245
we can group this immediately for the website visitor.

126
00:05:45,245 --> 00:05:48,370
Same thing applies for the button at the bottom by the way.

127
00:05:48,370 --> 00:05:51,211
As you see, this button again has more space

128
00:05:51,211 --> 00:05:53,740
between the previous group of elements,

129
00:05:53,740 --> 00:05:56,456
because the button is the final (the fourth part)

130
00:05:56,456 --> 00:05:58,200
of this card so to say,

131
00:05:58,200 --> 00:06:00,710
which will then allow the visitor

132
00:06:00,710 --> 00:06:03,200
to join this monthly subscription

133
00:06:03,200 --> 00:06:06,733
or to subscribe to this monthly payment model.

134
00:06:07,990 --> 00:06:11,243
So, this is the space of the general website

135
00:06:11,243 --> 00:06:14,320
in odds of individual elements on the website.

136
00:06:14,320 --> 00:06:17,800
And this is very important to make things easily readable

137
00:06:17,800 --> 00:06:19,183
for our visitors.

138
00:06:20,100 --> 00:06:21,880
But when talking about spaces,

139
00:06:21,880 --> 00:06:25,190
and specifically the sizing of different elements,

140
00:06:25,190 --> 00:06:28,520
well, the font is of course a very important topic;

141
00:06:28,520 --> 00:06:32,070
because information is typically provided in a written way,

142
00:06:32,070 --> 00:06:35,165
therefore, let's dive into the fonts of this card

143
00:06:35,165 --> 00:06:36,713
as a next step.

