1 00:00:00,510 --> 00:00:02,060 Hello and welcome. 2 00:00:02,130 --> 00:00:14,640 This video I'll showing you how to select multiple elements and apply a single says rule to all the 3 00:00:14,640 --> 00:00:16,450 elements. 4 00:00:16,450 --> 00:00:25,260 So I've got several elements in my hastier email document so let's assume I want to start with the paragraph. 5 00:00:25,260 --> 00:00:27,240 I want to start. 6 00:00:28,080 --> 00:00:30,310 Hey one heading. 7 00:00:30,420 --> 00:00:32,700 What is this one here. 8 00:00:32,700 --> 00:00:38,200 And I also want to style the list item which is the L element. 9 00:00:38,310 --> 00:00:42,420 All I need to do is going to my sets. 10 00:00:42,670 --> 00:00:48,100 You see that's the advantage of having an external c is this you just do everything on one file. 11 00:00:48,360 --> 00:00:57,440 So I'm going to modify this one slightly and it is going to get rid of that for a minute. 12 00:00:57,680 --> 00:01:06,610 All right so I want to select multiple elements and apply a single Seer says Rule 2. 13 00:01:06,630 --> 00:01:07,960 All those elements. 14 00:01:08,190 --> 00:01:12,380 So the way you do that you separate each of the elements with a comma. 15 00:01:12,540 --> 00:01:17,180 So I want to apply Siss to the paragraph do comma. 16 00:01:17,430 --> 00:01:22,420 I want to apply this to my one element. 17 00:01:22,800 --> 00:01:29,420 Do a comma and then want to apply Siss to my list item which is my like. 18 00:01:29,910 --> 00:01:37,970 So you can see have separated them all with the command you go to P the hateable on and the list item. 19 00:01:38,040 --> 00:01:43,740 So I want to make all of them have a read text. 20 00:01:43,760 --> 00:01:53,730 So where do I just tell one property which is a condo and separate the value of the property from the 21 00:01:53,730 --> 00:01:55,160 property with a column. 22 00:01:55,470 --> 00:02:04,010 So the column is a property value of the property of red. 23 00:02:04,650 --> 00:02:07,010 Okay you can see it now is all change. 24 00:02:07,020 --> 00:02:10,280 You can see this is one element. 25 00:02:10,830 --> 00:02:14,280 If I open up my Index he can see promptly. 26 00:02:14,280 --> 00:02:16,410 The point is this one here. 27 00:02:16,660 --> 00:02:24,410 This paragraph one paragraph here today the new there is a set list item. 28 00:02:24,430 --> 00:02:26,780 You can see this is my eye. 29 00:02:26,970 --> 00:02:33,290 These are all my list item and I've got another paragraph here says let's try to be. 30 00:02:33,300 --> 00:02:34,690 Which is this one here. 31 00:02:35,040 --> 00:02:45,460 So that's physically how you can style multiple elements with a single C says rule. 32 00:02:45,660 --> 00:02:53,490 So you can see using one row and applying it to multiple elements. 33 00:02:53,490 --> 00:02:55,330 So that's it for this video. 34 00:02:55,350 --> 00:02:56,720 Thank you for watching. 35 00:02:56,720 --> 00:02:57,770 Bye for now.