How to use SVG Icons in CSS | Convert PNG Icons to SVG

Sdílet
Vložit
  • čas přidán 7. 08. 2024
  • In this video tutorial, we will learn how to use SVG icons in CSS. We will also learn to convert PNG icons in SVG format.
    SVG icons are lightweight and highly scalable. With CSS you can control the size with the standard font-size property.
    -----------------------------------------------------------------
    📦 Source Code: github.com/wpacademy/svg-icon...
    ♻ PNG to SVG: www.pngtosvg.com/
    🧰 CSS Encoder for SVG: yoksel.github.io/url-encoder/
    -----------------------------------------------------------------
    -----------------------------------------------------------------------------
    🙌 Support This Channel by Buying Stuff Below
    -----------------------------------------------------------------------------
    ✅ Elementor Pro: wpacademy.pk/go/elementor-pro/
    ✅ Cheap Domain & Hosting ➡ wpacademy.pk/go/nc
    ✅ Managed Cloud Hosting ➡ wpacademy.pk/go/cloudways/
    ✅ Best Elementor Addons ➡ wpacademy.pk/go/crocoblock
    ✅ Envato Elements ➡ wpacademy.pk/go/envato-elements
    -------------------------------------------------------------
    👨‍👩‍👦 JOIN OUR SOCIAL COMMUNITY:-
    -------------------------------------------------------------
    Facebook Page: / wpacademypk
    Facebook Group: / wpacademy.pk
    Forums: wpacademy.pk/forums

Komentáře • 37

  • @user-kn4oi9oh4i
    @user-kn4oi9oh4i Před 6 měsíci +1

    Good sir, you have acquired another subscriber because of this amazing tutorial! Thank you!

  • @haveenraj2961
    @haveenraj2961 Před 2 lety

    Finally this kind of video is there ✌️

  • @Alone.Brecker
    @Alone.Brecker Před rokem

    Thank you so much I finally found it.

  • @mehedihasan9683
    @mehedihasan9683 Před rokem

    thank u so much bro,very helpful video
    😍

  • @liaqatnasim708
    @liaqatnasim708 Před rokem +1

    You saved me... very help full...👍

  • @Toast-M1
    @Toast-M1 Před 2 lety +1

    very nice thanks

  • @equablestatus
    @equablestatus Před 2 lety

    Useful 👌

  • @ahmmedsabbirbd
    @ahmmedsabbirbd Před 2 lety

    many many thanks

  • @farshadbagheri6180
    @farshadbagheri6180 Před rokem

    Thanks for your video

  • @JC-bb9vn
    @JC-bb9vn Před rokem

    thanks for teaching

  • @gilsonconceicao5201
    @gilsonconceicao5201 Před 6 dny

    Thanks for sharing. Do you have any content on how to change the color of the svg in a simple way and without editing the svg code?

    • @WPAcademyPK
      @WPAcademyPK  Před 4 dny +1

      Unfortunately, there is no direct way, some SVG files accept colors assigned via CSS, and some do not.

  • @easywebsolution7044
    @easywebsolution7044 Před 3 měsíci

    Very helpful video, it save my time.

  • @user-zg2rd9ld4k
    @user-zg2rd9ld4k Před 8 měsíci +1

    you can use figma to convert png/jpg to svg

  • @muhammadaslan6256
    @muhammadaslan6256 Před rokem

    How we can do that for wordpress

  • @khanhhoanguyen1740
    @khanhhoanguyen1740 Před 2 lety

    Like ur lesson but sorry, i'm laugh so hard when hear ur voice xD
    Video is useful, Thank you

    • @WPAcademyPK
      @WPAcademyPK  Před 2 lety +1

      I am glad that i made someone laugh.

  • @shahadatgaming6530
    @shahadatgaming6530 Před 2 lety +3

    But if you want to change the color then how will you do it?

  • @eliekouakou3747
    @eliekouakou3747 Před rokem

    thanks

  • @websdevgio
    @websdevgio Před rokem

    it's working :)

  • @shehabmohsen8220
    @shehabmohsen8220 Před rokem +1

    but can't change the color

  • @mod7ex_fx
    @mod7ex_fx Před rokem +1

    but we can't change color

  • @sumitsaini_999
    @sumitsaini_999 Před 11 měsíci

    Bhai ek help chaiye SVg saay related

  • @vladimirpaziuk4707
    @vladimirpaziuk4707 Před 2 lety +4

    Not useful in real project. How you will change color of icon, If you can not use fill css property for bg image

  • @lennard4454
    @lennard4454 Před rokem

    4:13 missed the part where u explain why u actually do this?

  • @naumanahmad1807
    @naumanahmad1807 Před 3 lety

    Asslam-o-Allykum
    bhai jan me ne html or css study kr lya he jitna aap ne krwaya he us se ziyada advance tk to kya muje koi kaam mil sakta he jese k PSD to HTML wgera me total design responsive bna leta hoo
    reply lazmi krna
    Thanks

    • @WPAcademyPK
      @WPAcademyPK  Před 3 lety

      Just go to Freepik.com and download PSD and start coding.

    • @naumanahmad1807
      @naumanahmad1807 Před 3 lety

      @@WPAcademyPK Thanks a lot Brother luv u 2

  • @sudaiskhan237
    @sudaiskhan237 Před 3 lety

    NEED GRAPHIC DESING

  • @WPAcademyPK
    @WPAcademyPK  Před 3 lety

    Ye dislike karne wale sath reason bhi mention kar dia krain taa k hum apni islah kar skain.

  • @tarush4445
    @tarush4445 Před měsícem

    why use before?

    • @WPAcademyPK
      @WPAcademyPK  Před měsícem

      developer.mozilla.org/en-US/docs/Web/CSS/::before

  • @VitiXAgency
    @VitiXAgency Před rokem

    thanks