All language subtitles for 022 Introduction to CSS.en_US

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian Download
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,900 --> 00:00:05,151 Welcome to the first lecture about CSS. 2 00:00:05,151 --> 00:00:09,040 So just like we did in the HTML fundamental section, 3 00:00:09,040 --> 00:00:12,580 in this section we will also start by looking 4 00:00:12,580 --> 00:00:14,349 at what CSS actually is, 5 00:00:14,349 --> 00:00:17,500 and we will learn some common terminology, 6 00:00:17,500 --> 00:00:20,907 so that you always know what I'm talking about 7 00:00:20,907 --> 00:00:25,673 when I refer to different pieces of the CSS code. 8 00:00:26,600 --> 00:00:27,732 So first of all, 9 00:00:27,732 --> 00:00:31,362 CSS stands for Cascading Style Sheets. 10 00:00:31,362 --> 00:00:33,061 And just like HTML, 11 00:00:33,061 --> 00:00:38,061 CSS is also one of the core technologies of the web. 12 00:00:38,446 --> 00:00:40,954 Now remember that we use HTML 13 00:00:40,954 --> 00:00:44,730 to basically describe the content of a page. 14 00:00:44,730 --> 00:00:46,128 And on the other hand, 15 00:00:46,128 --> 00:00:49,267 we use CSS to describe the visual style 16 00:00:49,267 --> 00:00:52,046 and the presentation of the content 17 00:00:52,046 --> 00:00:55,979 that we previously wrote using HTML. 18 00:00:55,979 --> 00:01:00,140 So CSS and HTML work very closely together. 19 00:01:00,140 --> 00:01:04,095 And in fact, down here, you can see a webpage, 20 00:01:04,095 --> 00:01:06,941 which is actually the project that we will build 21 00:01:06,941 --> 00:01:08,640 later in the course. 22 00:01:08,640 --> 00:01:12,160 So in the left side you have just the content. 23 00:01:12,160 --> 00:01:13,745 So just the HTML. 24 00:01:13,745 --> 00:01:15,181 And then on the right side, 25 00:01:15,181 --> 00:01:20,181 you have the exact same HTML code, but with a lot of CSS. 26 00:01:21,124 --> 00:01:24,670 And so that CSS describes the visual style 27 00:01:24,670 --> 00:01:29,670 and also the layout basically of that whole content. 28 00:01:30,068 --> 00:01:31,668 Now, as you already know, 29 00:01:31,668 --> 00:01:35,554 HTML consists of a bunch of different elements 30 00:01:35,554 --> 00:01:38,504 that we can use to describe the content. 31 00:01:38,504 --> 00:01:41,455 And so again, CSS is similar to that, 32 00:01:41,455 --> 00:01:45,585 because CSS consists of countless properties 33 00:01:45,585 --> 00:01:50,055 that we developers can then use to format the content. 34 00:01:50,055 --> 00:01:54,222 And these properties allow us to format different things 35 00:01:54,222 --> 00:01:58,249 about a font, the text, the general spacing, 36 00:01:58,249 --> 00:02:01,819 a layout of the page and so on and so forth. 37 00:02:01,819 --> 00:02:04,828 There is really lots of different properties. 38 00:02:04,828 --> 00:02:08,194 And of course you don't need to know all of them by heart. 39 00:02:08,194 --> 00:02:10,648 There's just no need for that. 40 00:02:10,648 --> 00:02:12,486 The way that you learn these properties 41 00:02:12,486 --> 00:02:16,239 is that you use the most important ones over and over again, 42 00:02:16,239 --> 00:02:20,580 and at one point it will then become very intuitive. 43 00:02:20,580 --> 00:02:24,316 Okay, so this is what CSS is all about. 44 00:02:24,316 --> 00:02:29,316 So let's now take a look at an actual piece of CSS code. 45 00:02:30,408 --> 00:02:34,320 So this is what a typical small piece of CSS 46 00:02:34,320 --> 00:02:35,438 might look like. 47 00:02:35,438 --> 00:02:38,887 And it always starts with a selector. 48 00:02:38,887 --> 00:02:39,969 So for example, 49 00:02:39,969 --> 00:02:43,510 if we want to style all the h1 elements on the page, 50 00:02:43,510 --> 00:02:46,258 we need to select it in CSS, 51 00:02:46,258 --> 00:02:49,399 and then we can apply some styles to it. 52 00:02:49,399 --> 00:02:54,399 And so each of these styles, we can call it a declaration. 53 00:02:54,523 --> 00:02:59,283 So for example, here we set the font size to 20 pixels. 54 00:02:59,283 --> 00:03:03,175 And so that font size is called the property. 55 00:03:03,175 --> 00:03:06,910 And the 20 pixels is the value that we declare 56 00:03:06,910 --> 00:03:09,789 for that font size property. 57 00:03:09,789 --> 00:03:13,649 And so property and value together is a declaration. 58 00:03:13,649 --> 00:03:18,193 And we can also, more casually, call that a style. 59 00:03:18,193 --> 00:03:21,538 Then all of these declarations, or styles together, 60 00:03:21,538 --> 00:03:24,460 make up the declaration block. 61 00:03:24,460 --> 00:03:28,002 So we have these curly braces after the selector, 62 00:03:28,002 --> 00:03:30,460 and so inside of the declaration block 63 00:03:30,460 --> 00:03:32,948 go all the different declarations. 64 00:03:32,948 --> 00:03:34,777 So all our styles. 65 00:03:34,777 --> 00:03:36,026 And all this together, 66 00:03:36,026 --> 00:03:39,764 so basically the selector plus the declaration block 67 00:03:39,764 --> 00:03:43,221 is what we call a CSS rule. 68 00:03:43,221 --> 00:03:47,160 And so what this means, is that in the end our CSS code 69 00:03:47,160 --> 00:03:51,376 will be a lot of different CSS rules, one after another, 70 00:03:51,376 --> 00:03:53,577 where we select all of our elements 71 00:03:53,577 --> 00:03:56,578 and style them in any way that we want. 72 00:03:56,578 --> 00:03:58,040 Okay. 73 00:03:58,040 --> 00:04:00,233 And so that is exactly what we will start doing 74 00:04:00,233 --> 00:04:01,646 in the next video. 75 00:04:01,646 --> 00:04:04,033 So let's go there right now. 5580

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.