CSS Text and Fonts Tutorial for Beginners - Typography

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น •

  • @DaveGrayTeachesCode
    @DaveGrayTeachesCode  2 ปีที่แล้ว +4

    Text makes up a huge amount of the content on the web, and the presentation of text and fonts is what Typography is all about. In this tutorial, we'll cover the most common text and font settings in CSS and apply them to an HTML example so you can see the changes. If you are just starting with CSS, I recommend going to the beginning of this CSS for Beginners playlist: th-cam.com/play/PL0Zuz27SZ-6Mx9fd9elt80G1bPcySmWit.html

  • @vijaybalaji7403
    @vijaybalaji7403 2 ปีที่แล้ว +3

    hi there Dave, 6 Months back i spent some around 500$ on web dev course and I felt worse of being not satisfied with them, It seems they want to complete the course without our concern whether we understand these concepts or not, I felt took wrong decision, wasted Time and money on them But here You are A Life saver......

  • @ahmad-murery
    @ahmad-murery 2 ปีที่แล้ว +4

    One more thing about fonts is that some fonts may support multiple character-sets (English, Arabic, symbols... for example) while some others don't, so, for multi-lingual dynamic websites it becomes hard to distinguish where a specific language is used so we can set the proper font properties,
    the good thing is that we can use the @font-face css rule to create custom fonts by merging unicode ranges from multiple font files,
    Thanks Dave,

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  2 ปีที่แล้ว +1

      Awesome input here, Ahmad! 💯 Thank you for this valuable info. 🙏🙏

    • @ahmad-murery
      @ahmad-murery 2 ปีที่แล้ว +1

      @@DaveGrayTeachesCode Trying to be helpful whenever I can, so thanks for giving me the opportunity 👍

  • @pooyannajafi
    @pooyannajafi 9 หลายเดือนก่อน +1

    Thanks a lot David, very well-paced and informative.

  • @webb-developer
    @webb-developer ปีที่แล้ว

    text decoration and transform, decoration , align : done!
    font all done
    remaining : a lot

    important : font in button and form aren't inhereted at 3:09

  • @phionaaladina
    @phionaaladina ปีที่แล้ว +1

    Excellent video. Easy to comprehend.

  • @prathaps1
    @prathaps1 ปีที่แล้ว

    Hi Grey, am from INDIA Heartful thanks for this session and all videos. I am learning every sessions. Bigg salute to you my best teacher.

  • @shawnlee5956
    @shawnlee5956 2 ปีที่แล้ว +1

    Hi Dave, Thanks for the Clear and Simple example, some of then are new to me~

  • @omkar1307
    @omkar1307 ปีที่แล้ว +1

    hey sir inside github typography css code is not visible
    could you please check once lesson_6

  • @GabrielSouza-yy2rq
    @GabrielSouza-yy2rq 2 ปีที่แล้ว +1

    That's very good content, as always. Thank you!

  • @TravinskiyVladislav
    @TravinskiyVladislav 2 ปีที่แล้ว

    Thank you, Dave

  • @yavuzselimoksuz6795
    @yavuzselimoksuz6795 ปีที่แล้ว

    Thank you so much professor

  • @SarrahRoseMikhailLeung
    @SarrahRoseMikhailLeung 4 หลายเดือนก่อน

    Great video!

  • @letuslearnmore
    @letuslearnmore ปีที่แล้ว

    Great explanation.
    Thank you

  • @mehdizarei6305
    @mehdizarei6305 2 ปีที่แล้ว +1

    im waiting for CSS full tutorial🔥

  • @Adnan-h7t6y
    @Adnan-h7t6y ปีที่แล้ว

    For comment. we can also use the select the code part we want comment then Press the ctrl +/ .

  • @mytechnotalent
    @mytechnotalent 2 ปีที่แล้ว

    Fantastic Dave thank you!

  • @NathanMoses99
    @NathanMoses99 ปีที่แล้ว

    Thank you 👍🏾

  • @hiwayshoes
    @hiwayshoes 2 ปีที่แล้ว +3

    Hi Dave, great tutorial as usual! Just a question about Google Fonts, is it preferable to link the font in the HTML or import the font through CSS? I’ve looked through Google Font docs and I can’t seem to find any reason from them one way or the other. Is there some kind of performance value involved? It’s always seemed strange to me, but I’m still learning -ha! Anyhow, thanks for all you do, and you have a great day, too… Cheers 💖!

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  2 ปีที่แล้ว +4

      You can do either. I think any performance impact is so small that I've never seen it discussed. I prefer adding it with the CSS import.

    • @Knards
      @Knards 2 ปีที่แล้ว +1

      @@DaveGrayTeachesCode I do too

    • @IG7799-c4u
      @IG7799-c4u 2 ปีที่แล้ว +1

      The CSS import code looks cleaner, and it's less code so even if it's a miniscule difference it's preferable :)

  • @sushantkunkekar2155
    @sushantkunkekar2155 2 ปีที่แล้ว

    Thanks Dave

  • @napoleon3242
    @napoleon3242 2 ปีที่แล้ว +1

    Hi Dave, can you give the list of extenstions you are using? What is the specific extension that allows for yellow dashed lines to show matching comment tags on 4:36 ?

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  2 ปีที่แล้ว

      I think the specific extension you are asking about is Bracket Pair Colorizer 2. I am currently using the Github theme also. I made one video for recommended extensions but I should do another one this year: th-cam.com/video/xQcpQfEumQw/w-d-xo.html

  • @khoka22
    @khoka22 ปีที่แล้ว

    Thanks a lot sir

  • @mehdizarei6305
    @mehdizarei6305 2 ปีที่แล้ว

    you are awesome my friend;) keep going

  • @louiidelosreyes742
    @louiidelosreyes742 ปีที่แล้ว

    Done! :)

  • @younow3353
    @younow3353 2 ปีที่แล้ว

    Please David make videos about reactJS real small projects

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  2 ปีที่แล้ว

      I will continue to make React tutorials 💯 Thanks for the request!

  • @ecomadvisor.
    @ecomadvisor. 3 หลายเดือนก่อน

    How about custom fonts

  • @regilearn2138
    @regilearn2138 2 ปีที่แล้ว

    Hi ,
    thanks for all the support for react /javascript developers,
    my request is please do a react video how to use* All the FORM components like radio btn, select box,Checkbox,input, ,calendar etc,and group of those elements* and practically what we use in industry to build apps **without any third part library please only use pure react with hooks***,bcz it will give the clear idea before moving in to formik or any other libruary,i would appreciate if u can use Mongodb for this.I know u will help on this.

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  2 ปีที่แล้ว

      Good suggestions! I do have a React Login series that starts with creating an accessible React form and uses no additional libraries: th-cam.com/video/brcHK3P6ChQ/w-d-xo.html This same series connects to the backend REST API built in my Node JS for Beginners course and that REST API is connected to MongoDB. All of the details on using MongoDB are in the Node JS course: th-cam.com/video/f2EqECiTBL8/w-d-xo.html

    • @regilearn2138
      @regilearn2138 2 ปีที่แล้ว

      @@DaveGrayTeachesCode yes i agree Dave, actually my requirement is how to use react with hooks for radio btn,select box and calendar components(biggest problems with date and time) and how group of them work and file upload kind of **advanced form control **,which we use in actual real world project,so if you an please do a video how these advanced form controls use(other than input text email password) how to enter those values and how to retrieve those values using react and hooks without any 3rt party library(without formik/react hook form etc).its basically master every FORM controls with pure react and hooks(bcz i beleve someone/developer know how those form control work you know how to debug your code when its comes to critical situation).
      So pls do a series for these, currently there are no proper series for this in you tube. appreciate your support on these,so it will bring catered knowledge in to on series.

    • @regilearn2138
      @regilearn2138 2 ปีที่แล้ว

      Dave ,we are(our students) eagerly waiting for this video series pls consider

  • @kaberanshutisamuel1856
    @kaberanshutisamuel1856 6 หลายเดือนก่อน

    On google fonts, why am I not seeing the option to select multiple styles ?

  • @biggybig358
    @biggybig358 2 ปีที่แล้ว

    Yeah, I found my new virtual friend

  • @IG7799-c4u
    @IG7799-c4u 2 ปีที่แล้ว

    This isn't really referencing the topic of this video, but at the start when you used padding on the body with percentages, where is it getting that padding size from? Since the body is the parent element of everything else. Is it just the percentage of the size of the body itself?

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  2 ปีที่แล้ว +1

      Good thoughtful question IG. Yes, the body element is a block element and has no container parent limiting its size. Therefore, it has 100% width of the page. The 10% references the width of the body. More specifically, MDN helps with this definition: "The size of the padding as a percentage, relative to the inline size (width in a horizontal language, defined by writing-mode) of the containing block." developer.mozilla.org/en-US/docs/Web/CSS/padding

    • @IG7799-c4u
      @IG7799-c4u 2 ปีที่แล้ว

      @@DaveGrayTeachesCode Thanks for helping me understand, I greatly appreciate it! :)

  • @DevikaM28
    @DevikaM28 ปีที่แล้ว

    this is my first time learning CSS and it seems to be too overwhelming to remember everything. does anyone else feel this way?

    • @andromilk2634
      @andromilk2634 4 หลายเดือนก่อน

      I don't think you're supposed to remember everything...You can always just look up stuff online.

  • @matinsasan
    @matinsasan 2 ปีที่แล้ว

    Congratulations on posting a video on freeCodeCamp. I hope that attracts you a lot of viewers to your channel.