Front End Center - Why Inline SVG is Best SVG

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

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

  • @Dxpress_
    @Dxpress_ 4 года назад +26

    10:56
    Years of query-selecting elements and logging them to the console for testing, and I had no idea you could just do this.

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

    This is the typical youtube channel you don't want to have stopped

  • @nurbekamanbekov9824
    @nurbekamanbekov9824 3 года назад

    One of the most underrated channels I've ever seen

  • @Naz-yi9bs
    @Naz-yi9bs 2 года назад +1

    Wow I wish you made a tutorial on how to go from newb to pro in SVG... you're teaching style is amazing.

  • @adarshverma4599
    @adarshverma4599 3 года назад +2

    This just blows my mind! It makes me realise how superficially I know about SVG. Great Video 👌

  • @supersjaak123
    @supersjaak123 5 лет назад +2

    Jesus Christ what high quality content. I wish I discovered this channel when I was still in school studying for web design & development.

  • @MaximeRouiller
    @MaximeRouiller 8 лет назад +27

    Mind blown. Dude... you're insane. I love it!

  • @thekaleb
    @thekaleb 8 лет назад +53

    Why Front End Center video is best video.

  • @dawidpomioto1595
    @dawidpomioto1595 4 года назад

    Before I ignored all the stuff about inline svg and I just copy pasted intro my projects, but your video inspired me to really master inline svg. I was study it for 2 weeks and I memorized all the commends for drawing, filters , masks, different kinds of animations, I learned JS dom and few JS libraries. and other stuff related. At the end I came back to your video to make sure I understand everything you presented, and I still learn something new. Thank you for making this video!

  • @4.0.4
    @4.0.4 6 лет назад +1

    Wow, this guy is so concise and sharp! And also bringing in good content!
    You can tell there was a well-written script. Can't shut the brain for a second or you'll miss something. Great for actually paying attention.

  • @enochappathurai
    @enochappathurai 8 лет назад +3

    This is the "SVG is awwwsome" talk I've been needing. Great work mate

  • @avimehenwal
    @avimehenwal 4 года назад +1

    OMG .. this video is an eye opener. I never knew we can do so much with SVG.
    Thankyou so much for sharing

  • @zgmg9263
    @zgmg9263 6 лет назад

    SO HIGH QUALITY PLEASE DON'T STOP

  • @nizamuddinshaikh3185
    @nizamuddinshaikh3185 3 года назад

    What a power Inline SVG has got! Thanks for sharing. 👍😃

  • @filemot25
    @filemot25 7 лет назад

    This is some of the cleanest and simplest code I've seen in a good while.

  • @danieldante8341
    @danieldante8341 6 лет назад +1

    There's a special place in heaven for people just like you :)
    Great explanation! Subbed!

  • @skettdog
    @skettdog 4 года назад

    God damn I am so glad I clicked this. I have consumed many articles and videos on web development since I started learning 2 months ago, but this was the best by far. I am finally able to wrap my head around so many things which were confusing about SVG before.

  • @swtrials2911
    @swtrials2911 5 лет назад

    I am just seeing this for the first time. You are blowing my mind.

  • @natashakamokaba9574
    @natashakamokaba9574 4 года назад

    Completed wireframing in xd and exported to html. Backend mostly came with svg tags that got me confused. Your tutorial helped. More videos on SVG would be great. Thank you sir.

  • @sanchariBahubali
    @sanchariBahubali 4 года назад

    great video.. u deserve a million subscribers for your teaching style. soon u will hit that number

  • @busyrand
    @busyrand 6 лет назад

    This was super advanced and impressive! I was blown away by the depth of what you demonstrated, especially the logic of each piece of code. Thank you for sharing this. Subscribed....

  • @jenoyestewart1516
    @jenoyestewart1516 6 лет назад

    I am new to this channel and this is the first video that I'm watching from your channel but I am blown away. In that vein, is there any reliable resource online for learning these things about SVG as you have just demonstrated (granted most things will come with usage and experience)?

  • @FlaxeMusic
    @FlaxeMusic 5 лет назад

    This is exceptionally well presented on all fronts, well done.

  • @milleniummoses
    @milleniummoses 6 лет назад

    You unknowingly also taught me some advanced CSS. Thanks for the video.

  • @NickyKeyse
    @NickyKeyse 6 лет назад

    I'm just starting to look at svg and I'm so glad I found this video, thank you very much.

  • @randommode3016
    @randommode3016 3 года назад

    4:01 benefits of inline svg💚

  • @Tommersable
    @Tommersable 5 лет назад

    Watched for about 5 minutes. This channel is gold. Get back to making video content already.

  • @masteryoda63
    @masteryoda63 8 лет назад

    Learned new things about SVG today, thank you!

  • @ryanmcpherson6167
    @ryanmcpherson6167 4 года назад

    Satisfied and Jealous at the same time. How is that possible?! Liked and Subscribed.

  • @impankratov
    @impankratov 7 лет назад

    Great dasharray & dashoffset explanation, thanks!

  • @sam.kendrick
    @sam.kendrick 7 лет назад +1

    Thanks for your time and effort! I learned about more than SVGs in this video!

  • @ShrinivasKattimani66
    @ShrinivasKattimani66 6 лет назад

    In love with SVG. Will start using using it.

  • @_jikkujose
    @_jikkujose 7 лет назад

    Absolutely good presentation, content & production quality! Keep up the great work!

  • @Velenir
    @Velenir 8 лет назад

    You can control svg inside object, embed, with yourObject.contentDocument.querySelector("svg") as long as everything is same-origin.

  • @realdaly
    @realdaly 8 месяцев назад

    I can't believe this tutorial is 7 years old!

  • @mightyjoetech
    @mightyjoetech 8 лет назад

    I enjoyed the first video so much, I might buy 1 month.

  • @bluesprodeep2079
    @bluesprodeep2079 3 года назад

    At 16:14, why do you move the svg to below the input and later set an order:-1 to show the svg ahead of the input again? why not just leave it ahead the input in the first place?

  • @berakoc8556
    @berakoc8556 4 года назад

    A lovely british accent and awesome tutorial. Just the way I like it.

  • @flwi
    @flwi 4 года назад

    Great tutorial! Thanks for sharing!

  • @jurgentreep
    @jurgentreep 8 лет назад

    Saved this for later, looks promising!

  • @flavourfulski
    @flavourfulski 5 лет назад

    This tutorial is absolutely amazing, thanks!

  • @goncalodumas
    @goncalodumas 3 года назад

    Great asset, instant subscriber!

  • @길병찬학부생-소프트
    @길병찬학부생-소프트 6 лет назад

    Amazing!
    Also impressed by the way of your editing video. What is the name of video editing program by the way?

  • @HarpreetSingh-cz2zh
    @HarpreetSingh-cz2zh 6 лет назад

    How did you get 0.5 and why did you divide it by 2? 11:05 of the video.

  • @ethanarrowood7454
    @ethanarrowood7454 7 лет назад

    Mind=Blown thank you so much for this.

  • @kadekeqw23
    @kadekeqw23 5 лет назад

    Master at work.

  • @wicek3d
    @wicek3d 8 лет назад +3

    Fantastic. Thanks a lot for this simple and powerful example! :)

  • @kadekeqw23
    @kadekeqw23 5 лет назад +1

    Diamond quality.

  • @bluesprodeep2079
    @bluesprodeep2079 3 года назад

    This is awsome. Thank you!

  • @seydinabadiane8761
    @seydinabadiane8761 4 года назад

    just insane dude !!!!!!

  • @thiswiedel
    @thiswiedel 7 лет назад

    This is an amazing tutorial, thank you so much.

  • @technicallygeckley14
    @technicallygeckley14 5 лет назад

    This is brilliant. Thank you so much.

  • @asif-rahaman
    @asif-rahaman 4 года назад

    Wow, very good quality tutorials. Why did you stop making videos?

  • @JayRGabz
    @JayRGabz 3 года назад

    thank you for this... I love it...

  • @rugia813
    @rugia813 6 лет назад

    This is really helpful, thank you!

  • @orenmizr
    @orenmizr 8 лет назад

    concise & clear points. thanks

  • @zer0ne83
    @zer0ne83 6 лет назад

    Good stuff mate. Cured me of my subconscious avoidance of SVG usage. Admittedly had no idea they could do even half of that. Thought SVG was an STD your CSS could catch by having unprotected sex with PNGs. The more you know, eh? ;)

  • @mykelchang846
    @mykelchang846 5 лет назад +1

    Great stuff, thank you ;)

  • @keanukentgargar5743
    @keanukentgargar5743 5 лет назад

    @6:08 what’s that plugin called that shows arrows which indicates it is newline?

  • @kjvisual7
    @kjvisual7 6 лет назад

    This video introduced me to what is possible with SVG. Wow. And I was only looking for a video that explained the benefits of using SVG inline. SVG is like a whole new world of code to learn. Especially if I consider that it was intended to be like Flash. Hmmm what is possible, what can SVG really do? Thanks 😀

  • @tompazourek
    @tompazourek 8 лет назад

    There's also in SVG with xlink:href attribute. That can be used to have a standalone file while using the "inline" SVG mode. Any opinions on that, Glen?

    • @FrontEndCenter
      @FrontEndCenter  8 лет назад +1

      It's actually covered in the sequel to this video! (which is a subscriber-only episode I'm afraid) But the short version is this - the CSS rules that are possible with "true" inline SVG don't quite work the same when using . You can achieve _most_ of the same effects but IMO it's nowhere near as easy to work with. Here's a good resource: css-tricks.com/svg-use-with-external-reference-take-2/

    • @tompazourek
      @tompazourek 8 лет назад

      Cool, I'll have to check your subscription. I wasn't aware of those drawbacks, I thought the only issue was browser support.

  • @autorashades1984
    @autorashades1984 6 лет назад

    Good info thanks. I like the idea of using an or object [contenteditable]

  • @DisfigurmentOfUs
    @DisfigurmentOfUs 6 лет назад

    Great video, thanks!

  • @ZaneDev
    @ZaneDev 8 лет назад

    Great tut thanks!

  • @TadejKanizar
    @TadejKanizar 8 лет назад

    Very informative!

  • @kakaIbrah
    @kakaIbrah 8 лет назад

    Nice video. Very didactic. Tks.

  • @249-a-b-n
    @249-a-b-n 8 лет назад

    Thanks for the very informative video :D

  • @284LOLXp
    @284LOLXp 6 лет назад

    You totally convinced me

  • @ozzyfromspace
    @ozzyfromspace 5 лет назад +1

    This video was a surreal reminder that I don't know shieeyyt. Oh well, still a great video 🙌🏽

  • @lesterarteaga3729
    @lesterarteaga3729 4 года назад

    Love it !

  • @blendjams
    @blendjams 4 года назад

    how much will the svg affect the overall size of the websites as compared to plain css?

  • @HarpreetSingh-cz2zh
    @HarpreetSingh-cz2zh 6 лет назад

    Hello, as mentioned in your video - you said there will be a javascript version for svg.. any updates on that? Excited to learn!

  • @faustohernandez3645
    @faustohernandez3645 7 лет назад

    Great video !!!!

  • @terehovsergej
    @terehovsergej 8 лет назад

    Excellent! thanks

  • @meagar
    @meagar 8 лет назад +2

    I thought this channel was dead, glad to see that I was wrong.

  • @nicolasparada
    @nicolasparada 8 лет назад +7

    Very interesting. I have one question about performance. I've always heard that you should only animate opacity and transform on CSS because they are optimized and bla bla bla... Are those stroke-dasharray and stroke-dashoffset safe to animate without impact on the performace?

    • @FrontEndCenter
      @FrontEndCenter  8 лет назад +10

      A good rule of thumb when it comes to performance is "how many pixels are getting redrawn?". With big objects, you do have to be careful so only using transform and opacity is a good idea. But if you're animating small things (and those animations don't affect the layout of the rest of the page) then you can pretty much do what you like!
      Check D3's examples page to see just how smoothly SVG can be redrawn, even at larger sizes: github.com/d3/d3/wiki/Gallery

    • @nicolasparada
      @nicolasparada 8 лет назад +1

      Ok, thanks for the advice.

    • @keanukentgargar5743
      @keanukentgargar5743 5 лет назад +1

      @6:08 what’s that plugin called that shows arrows which indicates it is newline?

    • @keanukentgargar5743
      @keanukentgargar5743 5 лет назад

      wrong thread haha

  • @tough_year
    @tough_year 4 года назад

    thanks a lot

  • @doktoren99
    @doktoren99 5 лет назад

    Exquisite!

  • @DavezillaMedia
    @DavezillaMedia 8 лет назад

    Brilliant!

  • @javascript_developer
    @javascript_developer 3 года назад

    How are you able to show output at the same time you write css without having to save ?

  • @pradipspeaks9395
    @pradipspeaks9395 8 месяцев назад

    Very nice ❤
    If I have a svg file (a.svg) how can I easily, without any overhead, can translate to an inline svg in my React js ?

  • @sujanlimbu4540
    @sujanlimbu4540 4 года назад

    which theme you are using, also which font

  • @KinTuza
    @KinTuza 7 лет назад

    I was hoping that you'd explain "Viewbox". I'm having a problem with media icons that I put under my nav div. I thought that the ul was at fault since it is inherently 100% in width. Even that won't help. WELP!

  • @brianevans4
    @brianevans4 3 года назад

    would be interesting to see more usage of inline SVG in frameworks like react. Anyone know of a good npm package that helps with using svg in react?

  • @StingSting844
    @StingSting844 8 лет назад

    love you man

  • @walid7189
    @walid7189 7 лет назад

    amazing! thank you!

  • @onlyafriend
    @onlyafriend 7 лет назад

    SVG can be Standalone File with reactjs component

  • @troymartz8740
    @troymartz8740 6 лет назад

    Awesome!

  • @oussamabouchikhi8110
    @oussamabouchikhi8110 4 года назад

    What is font used in pink color?

  • @adventure-007
    @adventure-007 4 года назад

    Liked. Subscribed. Dinggggg ALL

  • @dukaxavier
    @dukaxavier 7 лет назад

    Wow dude, amazing!
    What is the name of the editor that's being used in this video?

    • @FrontEndCenter
      @FrontEndCenter  7 лет назад

      It's Webstorm. I've been using it for years and love it. I've also heard good things about VS Code, it might be a bit easier to get started with.

  • @1001-w5q
    @1001-w5q 4 года назад

    I don't understand how line appears right below the input field and has the same width while my line appears righter or bigger than input form

  • @kshitizadhikari7826
    @kshitizadhikari7826 6 лет назад

    thank you :)

  • @maxpain3294
    @maxpain3294 6 лет назад

    amazing

  • @ressalg
    @ressalg 8 лет назад

    What is the name of the editor that's being used in this video?

  • @codingparadise841
    @codingparadise841 6 лет назад

    lot usefull, thanks

  • @awekeningbro1207
    @awekeningbro1207 4 года назад +1

    Please explain how is this simple? This is basically advanced CSS and this is complicated.

  • @mustache2295
    @mustache2295 4 года назад

    Is this still applicable today? Just discovered SVG and not sure what to do from here other than make some cool stuff and try to put it into websites. At first I thought of just creating my own images but then I thought... Well, why not make some awesome animations as well.

  • @JayRGabz
    @JayRGabz 3 года назад

    please create more svg videos...

  • @MindGem
    @MindGem 5 лет назад

    Make a video where you show how to manipulate external svgs. I've been struggling with that for a long time. It needs to be a complex svg, say a character with lots of different elements with their own ID's. So far I've manage to change simple solid fills but not gradients on runtime. It's also annoying since I have to upload the files to the server every single time I make a change because of cross origin, I don't know if you can fake that with a desktop server solution. Anyways. Do a video on that.
    Alternatively. Show a way to have inline complex svgs where you have more control. My problem would be that I don't understand where to put them because 1 single svg is thousands of lines of code and I need to pull in hundres of them for my project. So is there a simple way to store them inline so to speak?