Shadowing Practice: 3 modern CSS properties to add to your reset - Learn English Speaking with Video

בחר מצב תרגול

כל מצב פותח חדר תרגול במסך מלא.

123 משפטים
אם המשפטים קצרים או ארוכים מדי, לחץ על ערוך כדי להתאים אותם.
1
Hello my friend and friend.
2
I'm doing more work on my home page
3
and I realized there's three things I forgot to include in my reset
4
that I generally include in my pages and my things these days
5
that are some modern CSS that I think you should probably include in yours as well.
6
So we're going to be diving in and looking what those are.
7
And the two of them involve short pages.
8
So let's go to a non-existing page because I don't have a lot of short pages.
9
You can see my footer is stuck to the top.
10
And if you want to fix that, the simplest way to do it, this depends on your own little bit on your structure.
11
In my case I have my header, my main, and then my footer at the bottom.
12
So this is going to work.
13
So what we can do is set a min block size and maybe you're setting a min height.
14
This is the logical variant.
15
The block size is min height.
16
So min block size and the idea with a min block size
17
and not just a block size is we want to set it as a constraint
18
so it can be that size or bigger if we have more content.
19
And I want to use 100 SVH.
20
And this is the one where like I think people are probably already including maybe VH here.
21
Some of you might be more cutting edge and doing using DVH, but you actually want to be using SVH.
22
And the reason for that, or this is I guess my opinion, but the reason I like doing SVH is because on phones, when you scroll,
23
if it's DVH when the scrolling stops it will repaint to get to the bigger size
24
because the UI elements that come in
25
and out I'll have a video on screen right now
26
that sort of illustrates this happening on a different video I did and
27
if you want to watch the video where I went into
28
in depth on these behaviors it will be linked in the description
29
so yeah SVH in my opinion especially for hero areas the top of the page is a much safer option
30
if you're scrolling down to things it's possible there the DVH might make more sense.
31
But for hero areas, top of the page stuff, in my opinion, SVH is a much safer option that prevents weird glitches from happening.
32
And that enables me to do a display of grid and then do a grid template rows.
33
I was gonna write columns, but it's rows.
34
And I want the first one to be auto, then a 1fr, and then an auto here as well.
35
So auto for that area, the main part of my page gets the 1fr, and then the footer gets the auto, which pushes the footer all the way to the bottom of the page.
36
I covered this in a video a really long time ago.
37
It's probably like six or seven years old at this point, but it's maybe five years old.
38
It's using grid.
39
I'm not entirely sure, but it works well.
40
I think I did a flex and grid example of that.
41
So if you want more details on how this is working, I'll include that below.
42
But I would just have this as your min block size.
43
100 SVH is like a sane reset, in my opinion, to have in your projects these days.
44
So that's the first one.
45
Now we're on a short page, and this leads us to the second one.
46
If you look at my navigation, if I go back to this page, and then I go here.
47
So when I'm going back and forth between these two pages, you'll notice that the navigation looks like it's like shifting back and forth.
48
And the reason for that is I'm on Chrome on Windows, which has a fixed scroll bar that you can see down the side there.
49
And the scroll bar distance has an effect on things.
50
So I should have, from the very start, had an HTML and a scroll bar gutter of stable.
51
And all that does is mean on pages where there is no scroll bar, it's still reserving the space for the scroll bar to be there.
52
So now when I jump back to the short page and then I go back, you'll notice the navigation doesn't jump anymore.
53
everything is stable as the name implies.
54
I don't see a reason not to do this, to be honest.
55
You can do it for the left and right side.
56
I'm not sure why you'd need to do that, but just the scroll bar gutter of stable seems like a pretty sane thing to do here.
57
And the other bonus of this, I'm going to include an article by Baramis down below that Chrome has started to, and I think the CSS Working Group has resolved to do this,
58
that if this is declared, 100VW, if you're using that, or VI for inline, will take into account the space of the scroll bar.
59
So it won't add extra like it used to and cause horizontal scrolling when scroll bars are visible.
60
So yeah, this one is a nice win already for just making content not jump around.
61
And it's a double win once 100VW will actually act like 100VW, though you probably still don't want to be declaring it.
62
I don't think there's lots of use cases for 100 VW or 100 VI, but every now and then you might need it.
63
So it will be more predictable once that becomes more widespread.
64
And you'll need to have this declared for that to work or an overflow Y of auto, I think, but you're not going to want that.
65
This is the better option.
66
You can stick with that one.
67
And a little bit of a random jump cut because we're in a different project of mine.
68
This is for my course platform CSS Demystified.
69
For some reason, I'm zoomed out.
70
I'm not sure why.
71
So built a custom course platform for my new course or the new version of CSS Demystified.
72
And in there, when we get to the modules here, you can see that if I click on these, they open and close because I'm using a details in summary.
73
I have a little animation running, which is causing a slight delay because it's waiting for those to turn.
74
But the reason it's doing that because normally here I removed it, but I already had this in and I'm doing this on my root.
75
You could put this on your HTML, on the root, even on the body, it's an inherited property.
76
So by putting it either on the root or the HTML element, you're basically enabling this site wide,
77
which is to do a interpolate size of allow keywords.
78
And by adding that here, now when I open these, they actually animate opened and closed instead, which I think is pretty cool, right?
79
I think it's a nice little thing that we can do right there.
80
And if I jump on over to my course here, which is where I'm doing it, you can see that I have my details, details content.
81
If you want to know how to do this, I've gone more in depth in another video looking specifically at these.
82
So I'll link that in the description below
83
because it's a little bit strange looking and I'm making sure this is supported if I'm going to do it.
84
And then I have a prefers reduced motion to include the animation only in there, but I'm going from a block size,
85
which is a height of zero to a block size of auto.
86
And the auto normally we wouldn't be able to transition to.
87
But with interpolate size allow keywords, it means we can now transition or animate to different intrinsic sizes, such as auto fit content,
88
min content, max content, and any others that I might be forgetting.
89
I've also put the transition behavior in here, which for this one is required because of the content visibility as well.
90
And actually in looking at this, there could be a case made to include this also
91
so at media prefers reduced motion no preference preference
92
and then we could move the interpolate size into there this
93
could be a good catch-all type of thing just to make sure
94
that you're not doing anything over the top for me this is like pretty aggressive animations
95
that i'm doing so that i would prefer not to happen
96
but there's sometimes it's more like micro animations that you're doing
97
so maybe you want to allow it
98
and only gate the specific things like I'm doing here
99
so that's up to you whether you want this just to be the default
100
or not I'm going to leave this here I don't have any micro animations
101
or interactions that are using it but I'd like to sort of have
102
that control of choosing where I'm disabling those or enabling them
103
and because this is like a lot of motion
104
that is happening here I'm going to
105
or I did have it disabled at a specific place right
106
there the other thing with this really quickly is I've realized I need to update this a little bit
107
because when I've disabled it, there's that little delay that's there.
108
So I'm going to hunt that down and make sure there's no delayed animation.
109
I should have done a bit more testing on that.
110
But by the time you find this, if you do want to dive into the course, that will be fixed, hopefully.
111
And right before I let you go, I just realized that the reason that it was delayed, you can see there is no delay.
112
I might don't have prefers reduced motion on.
113
So if this was disabled, then this was running with the animation on it still.
114
So it was doing, you know, it was taking a long time to do its thing.
115
And I had to wait for that because we weren't able to transition it with this disabled.
116
So yeah, anyway, just to say that everything was completely fine and I didn't have any changes to make.
117
So if you are interested in it again, it completely redone the course learning CSS the way I wish I was taught CSS when I started learning it, going through sort of the modern way,
118
in my opinion, of learning CSS so you really understand it really well.
119
Link for that is down in the description, as is the link to the detail summary animated video
120
if you want to learn more about how all of
121
that works in a lot more detail than to the quick overview that we did in this video.
122
And with that, I want to say a very big thank you to my enabler of awesome, Johnny, as well as all my other patrons and channel members for their continued support.
123
And of course, until next time, don't forget to make your corner of the internet just a little bit more awesome.

הורד אפליקציה

כל מה שאתה צריך כדי לדבר בשטף

הגיית AIציון לכל משפט
תרגול IPAשלוט בכל צליל
אוצר מיליםבנה את מאגר המילים שלך
משחק אוצר מיליםלמד תוך כדי משחק

אותו ערוץ

FOR YOU

המלץ על סרטון

אוצר מילים והערות הגייה לשיעור הזה

שיעור הדיבור הזה ברמה C1 מבוסס על הסרטון “3 modern CSS properties to add to your reset”. המילים שחוזרות הכי הרבה: page, size, scroll, auto, block. בסרטון הזה יש 123 משפטים ו-1870 מילים לתרגול Shadowing. הדיבור נמשך 8:54. הדובר מדבר מהר, כ-210 מילים בדקה, אז צפו לצלילים מחוברים ומקוצרים. 83% מהמילים נמצאות בין 3,000 המילים הנפוצות ביותר באנגלית; כדאי ללמוד את השאר לפני שמתחילים.

אוצר מילים מרכזי בסרטון הזה

14 המילים המתקדמות ביותר בסרטון, עם ההגייה והמשמעות שלהן:

מילההגייהמשמעות
scroll שם עצם/skɹoʊl/מגילה, מְגִלָּה
automobile שם עצם/ˈɔː.tə.məˌbil/מְכוֹנִית
navigation שם עצם/nævɪˈɡeɪʃən/נִוּוּט, נַוָּטוּת
keyword שם עצם/ˈkiː.wɜːd/מִלַּת מַפְתֵּחַ
sane שם תואר/seɪn/שָׁפוּי
microwave שם עצם/ˈmaɪkɹoʊˌweɪv/מִיקְרוֹגַל
reset פועל/ɹiːˈsɛt/אפס
overflow פועל/ˌəʊvəˈfləʊ/גָּלַשׁ, עָלָה עַל גְּדוֹתָיו
inherit פועל/ɪnˈhɛɹɪt/יָרַשׁ
template שם עצם/ˈtɛm.plɪt/תַּבְנִית, שַׁבְּלוֹנָה
illustrate פועל/ˈɪl.əˌstɹeɪt/הִמְחִישׁ
variant שם עצם/ˈvæɹi.ənt/חלופה, הגוון
module שם עצם/ˈmɑd͡ʒul/מוֹדוּל
horizontal שם תואר/ˌhoɹəˈzɑn.təl/אפקי

משפטים שכדאי לחזור עליהם

משפטים קצרים ושלמים מהסרטון שאפשר להשתמש בהם בשיחה יומיומית:

  • I was gonna write columns, but it's rows.
  • I'm not entirely sure, but it works well.
  • For some reason, I'm zoomed out.
  • I might don't have prefers reduced motion on.

דקדוק בסרטון הזה

המבנים שהדובר משתמש בהם הכי הרבה, עם המילים המדויקות מהסרטון:

מבנהבסרטון
סביל (Passive voice) be + past participle — הדגש הוא על מה שקורה, לא על מי שעושה את הפעולהis set · will be linked · is declared
הווה מושלם (Present perfect) have/has + past participle — פעולה שקרתה בעבר ועדיין יש לה חשיבות או השפעה עכשיוhas started · I've gone · I've also put
משפטי זיקה (Relative clauses) who / which + clause — מידע נוסף על אדם או דברWindows, which has · running, which is · here, which is

הגייה ששווה לשים לב אליה

הדובר משתמש ב-55 קיצורים וצורות מקוצרות, כמו I'm, don't, you're. אמרו אותם בצורה הקצרה, כפי שאתם שומעים אותם.

  • מילים ארוכות — שימו לב להטעמה: automobile /ˈɔː.tə.məˌbil/, interpolate /ɪnˈtɜː.pəˌleɪt/, navigation /nævɪˈɡeɪʃən/, predictable /pɹəˈdɪktəbləl/, visibility /ˌvɪz.əˈbɪl.ɪ.ti/

צלילים שדוברי עברית מתקשים בהם:

  • /w/ — שפתיים מעוגלות, לא /v/: keyword /ˈkiː.wɜːd/, microwave /ˈmaɪkɹoʊˌweɪv/
  • /æ/ — פתוח יותר מה-“אֶ” העברית, לא כמו “a” ב-“cup”: animate /ˈæn.ə.mət/, navigation /nævɪˈɡeɪʃən/, variant /ˈvæɹi.ənt/
  • /r/ — הלשון לא נוגעת בשום מקום, לא ה-“ר” הגרונית: scroll /skɹoʊl/, footer /ˈfʊtə(ɹ)/, microwave /ˈmaɪkɹoʊˌweɪv/, reset /ɹiːˈsɛt/, constraint /kənˈstɹeɪnt/

איך לתרגל עם הסרטון הזה

  1. הקשיבו לכל הסרטון פעם אחת בלי לדבר, ורשמו את המילים שאתם לא מכירים.
  2. התחילו במהירות 0.75×, תרגלו Shadowing משפט אחר משפט, וחזרו למהירות רגילה כשזה מרגיש קל.
  3. הקליטו את עצמכם והשוו למקור, תוך תשומת לב למילים כמו scroll, automobile, navigation.

מהי טכניקת השאדואינג?

שאדואינג היא טכניקת למידת שפה מבוססת מדע שפותחה במקור להכשרת מתורגמנים מקצועיים ופופולרית על ידי הפוליגלוט ד"ר אלכסנדר ארגואלס. השיטה פשוטה אך עוצמתית: אתה מקשיב לאודיו באנגלית ילידית וחוזר עליו בקול רם מיד — כמו צל העוקב אחרי הדובר עם עיכוב של 1–2 שניות בלבד. בניגוד להאזנה פסיבית או תרגילי דקדוק, שאדואינג מכריח את המוח והשרירים בפה לעבד ולשחזר דפוסי דיבור אמיתיים בו זמנית. מחקרים מראים שזה משפר משמעותית את דיוק ההגייה, האינטונציה, הקצב, הדיבור המחובר, הבנת השמיעה ושטף הדיבור — מה שהופך אותו לאחת השיטות היעילות ביותר להכנה לIELTS Speaking ולתקשורת באנגלית בעולם האמיתי.

טכניקת Shadowing: קרא את המדריך המלא שלב אחר שלב →