A Practical Guide to Aspect Ratio in CSS

Поделиться
HTML-код
  • Опубликовано: 12 ноя 2024

Комментарии • 9

  • @WeichienHung
    @WeichienHung 2 года назад +2

    Your tutorial video always shows something practical. Thanks

    • @CSSWeekly
      @CSSWeekly  2 года назад

      Thank you, WeiChien! I'm delighted to hear that you find my videos practical! 🙏

    • @HemitPatel-s3f
      @HemitPatel-s3f 3 месяца назад +1

      fr... didnt know this could have been done! really gonna use this for my projects and even my job for when i need a responsive rendered image

    • @CSSWeekly
      @CSSWeekly  3 месяца назад

      @HemitPatel-s3f I’m glad to hear it will be useful! 🙂

  • @mohamedlabarre166
    @mohamedlabarre166 Год назад +1

    good evening Sir
    at 2:10 I don't understand how you calculate the value 56.26 percent

    • @CSSWeekly
      @CSSWeekly  Год назад +1

      The aspect ratio is 16:9, so you divide 9/16 and multiply it by 100 to get the percentage. 🙂

    • @HemitPatel-s3f
      @HemitPatel-s3f 3 месяца назад

      u get it through the aspect ratio which is 16/9... all u need to do is divide it by lower number first (9) and higher number (16) which will get u .5626 then multiply by 100

  • @chemedev
    @chemedev 2 года назад

    Outstanding explanation on aspect-ratio, thanks!

    • @CSSWeekly
      @CSSWeekly  2 года назад

      Thank you so much, Juan! I'm delighted to hear that you found it helpful! 🙏