All language subtitles for 006 What is Tailwind_en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
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
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French Download
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,720 --> 00:00:03,700 In this lecture, we're going to talk about Tailwind. 2 00:00:03,900 --> 00:00:05,460 It's the new kid on the block. 3 00:00:05,640 --> 00:00:09,850 In the past year, tailwinds user base has grown exponentially. 4 00:00:10,170 --> 00:00:11,730 There's a good reason for it. 5 00:00:12,060 --> 00:00:15,940 Tailwind makes developing sites so much easier and faster. 6 00:00:16,140 --> 00:00:17,700 So what is Tailwind? 7 00:00:17,910 --> 00:00:20,220 Tailwind is a success framework. 8 00:00:20,380 --> 00:00:23,990 It's similar to other frameworks like Bootstrap and Boerma. 9 00:00:24,240 --> 00:00:28,240 It stands out from the crowd because of the approach it takes with success. 10 00:00:28,740 --> 00:00:32,070 Let's talk about how bootstrap approaches success. 11 00:00:32,400 --> 00:00:35,900 Bootstrap comes with classes for building UI elements. 12 00:00:36,120 --> 00:00:39,880 For example, let's say we wanted to use the card components. 13 00:00:40,230 --> 00:00:44,790 This code snippet shows how a card component can be created with bootstrap. 14 00:00:45,090 --> 00:00:48,870 We need to create some div tags and slap some classes on them. 15 00:00:49,060 --> 00:00:50,250 Pretty simple, right? 16 00:00:50,790 --> 00:00:54,780 The biggest criticism of bootstrap is how similar a lot of sites look. 17 00:00:55,020 --> 00:01:00,030 It's because bootstrap takes care of defining a predefined set of components. 18 00:01:00,360 --> 00:01:02,970 These components are ready to go out of the box. 19 00:01:03,210 --> 00:01:05,610 Customizing them is completely optional. 20 00:01:06,030 --> 00:01:10,840 In some cases, you may want to change the appearance of some bootstraps element. 21 00:01:11,160 --> 00:01:15,050 For example, let's say we want the color of the title to be red. 22 00:01:15,360 --> 00:01:19,670 We can select the card title element to apply the changes. 23 00:01:19,980 --> 00:01:24,260 This works what it's going to affect other card elements with titles. 24 00:01:24,540 --> 00:01:30,240 One solution to get around this is by using a better specifiers, such as assigning an ID. 25 00:01:30,720 --> 00:01:33,350 It works, but it doesn't scale very well. 26 00:01:33,630 --> 00:01:38,530 This approach forces us to constantly switch between documents and stylesheets. 27 00:01:38,880 --> 00:01:41,880 We might also have to rewrite the same success. 28 00:01:42,180 --> 00:01:46,350 The more UI elements we have, the more success will have to write. 29 00:01:46,650 --> 00:01:50,430 Another challenge is having to memorize what every class does. 30 00:01:50,760 --> 00:01:53,850 The classes and bootstrap describe the UI element. 31 00:01:54,120 --> 00:02:00,990 They don't describe what properties are applied to the element till resolve this issue by focusing on 32 00:02:00,990 --> 00:02:02,940 a different way to write templates. 33 00:02:03,510 --> 00:02:06,420 Tailwind does not focus on UI elements. 34 00:02:06,600 --> 00:02:11,550 If you were to browse the documentation, you won't encounter many UI elements. 35 00:02:12,000 --> 00:02:15,780 Instead, Tailwind focuses on utility classes. 36 00:02:16,350 --> 00:02:18,060 What does that exactly mean? 37 00:02:18,330 --> 00:02:21,120 Tailwind will define hundreds of classes. 38 00:02:21,120 --> 00:02:23,550 Each class will modify one property. 39 00:02:24,030 --> 00:02:30,900 For example, there's a class called M for the M for class will set the margins of an element to one 40 00:02:30,900 --> 00:02:31,410 ram. 41 00:02:31,770 --> 00:02:34,530 There aren't any other properties under this class. 42 00:02:34,710 --> 00:02:40,080 On the other hand, a bootstrap class can modify multiple properties of an element. 43 00:02:40,620 --> 00:02:43,890 For this reason, Tailwind has a larger learning curve. 44 00:02:44,070 --> 00:02:47,940 It's a framework that demands solid knowledge of success. 45 00:02:48,240 --> 00:02:51,690 You won't get far if you don't know much about success. 46 00:02:51,900 --> 00:02:54,750 Luckily, success is a simple language. 47 00:02:55,020 --> 00:02:57,990 Tailwind looks difficult to read, but it's not. 48 00:02:57,990 --> 00:03:04,320 Once you understand what each class does by looking at the classes, you will immediately know what 49 00:03:04,320 --> 00:03:06,870 properties are being applied to the elements. 50 00:03:07,140 --> 00:03:12,420 This saves you time from having to switch over to the style sheet to understand the class. 51 00:03:14,670 --> 00:03:20,910 In the resource section of this lecture, I provide a link to the official Tailwind site on the home 52 00:03:20,910 --> 00:03:28,110 page will be shown an example of the type UI elements we can create with this framework on the right 53 00:03:28,290 --> 00:03:32,100 will find what our HTML will look like with tailwind. 54 00:03:32,610 --> 00:03:36,870 Unlike Bootstrap, multiple classes are being applied to the element. 55 00:03:37,110 --> 00:03:39,480 Each class will change one property. 56 00:03:39,840 --> 00:03:45,330 From this live example, we can see how each class affects the element as they're added in. 57 00:03:45,690 --> 00:03:50,250 This leads us to the question how do we know which class to use locally? 58 00:03:50,370 --> 00:03:53,790 Tailwind has some of the best documentation around. 59 00:03:54,030 --> 00:03:57,430 Each class is well documented at the top. 60 00:03:57,450 --> 00:03:59,400 We can search for any class. 61 00:03:59,670 --> 00:04:03,090 Let's search for the M for class we looked at earlier. 62 00:04:05,590 --> 00:04:10,430 According to the documentation, this class will change the margins of an element. 63 00:04:10,740 --> 00:04:12,940 It'll even tell us by how much. 64 00:04:13,120 --> 00:04:15,340 We never have to look at the success. 65 00:04:15,670 --> 00:04:20,529 The documentation will always tell us what property and value a class will have. 66 00:04:20,860 --> 00:04:23,290 We're not limited to a single class either. 67 00:04:23,680 --> 00:04:27,290 There are multiple classes for changing the margins of an element. 68 00:04:27,610 --> 00:04:31,750 We can add margins to one side or access tailwind. 69 00:04:31,760 --> 00:04:33,080 Seems great so far. 70 00:04:33,100 --> 00:04:34,240 So what's the catch? 71 00:04:34,480 --> 00:04:41,500 Tailwind is much larger than most libraries on compressed calendars over three hundred kilobytes large. 72 00:04:41,800 --> 00:04:47,140 Luckily, Tailwind works hand in hand with a library called Perves Success. 73 00:04:47,380 --> 00:04:54,700 In the resource section of this lecture, I provide a link to the Purge Success Library Purge Success 74 00:04:54,700 --> 00:04:58,030 will scan your GML for classes that are being used. 75 00:04:58,210 --> 00:05:05,590 It will then remove unused VSS from your stylesheets per SS is commonly used with tailwind. 76 00:05:05,800 --> 00:05:10,210 On average, most Tailwind sites use less than 10 kilobytes. 77 00:05:10,480 --> 00:05:14,920 This process is automatically done for us by installing the Tailwind module. 78 00:05:15,280 --> 00:05:19,150 As you can see, Tailwind is rising in popularity for a reason. 79 00:05:19,330 --> 00:05:24,250 If you're confused by any class we use, you can always consult the documentation. 80 00:05:24,550 --> 00:05:28,150 It'll tell you right away what property gets applied to an element. 81 00:05:28,390 --> 00:05:32,560 For this course, we're going to be using tailwind for our music app. 82 00:05:32,710 --> 00:05:35,830 In the next lecture, we're going to install Tailwind. 7995

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