Curved/Custom DIV Shape Tutorial - CSS & SVG

Поделиться
HTML-код
  • Опубликовано: 11 июл 2024
  • How to create curved and custom DIV shape (responsive) using HTML/CSS and SVG path
    Source Code: redstapler.co/curved-custom-s...
    === Follow us on ===
    Facebook: / theredstapler
    Website: redstapler.co/
    Twitter: / redstapler_twit
    #CSS #SVG #WebDesign
  • НаукаНаука

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

  • @Pankaj-Verma-
    @Pankaj-Verma- 4 года назад

    This channel should be awarded as best channel in web development category.
    Thank you so much for your kind help!

  • @FirdavsiWebDev
    @FirdavsiWebDev 4 года назад +5

    That looks so wavy!! Great project!!

  • @alianwar2857
    @alianwar2857 4 года назад +2

    I always wondered how it could be done. Thanks pal. It worked like charm

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

    Wow, I had to re-watch your video like 3 times to be able to grasp it and correct my bugs. But in the end I did it! Thank you so much!!! This is a really useful skill.

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

      bro please tell my how to increase the width of svg of get waves

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

    Your channel is superb! Just continue on this way! Thanks for the video.

  • @jenstornell
    @jenstornell 4 года назад +9

    Great that you also mention the tools you use! To make it perfect, link to the tools in the description. 👍

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

    You are the man! I've been trying to do this correctly for a while. Thanks!!

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

      hi..does a line appear when you switch to mobile view?

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

    Thank you for this video! It's very useful and straight to the point 👍

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

    Thanks so much for the tutorial! You made it easy! It was a bit tough figuring out in bootstrap

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

    thank you very much, love from nigeria, have been looking for this

  • @abustosp
    @abustosp 4 года назад +2

    I had the issue with the line in the past. Glad you found a solution!
    Thank you so much!

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

    Thanks a milli needed this!

  • @karimullahkhan8354
    @karimullahkhan8354 4 года назад +37

    it seems like "Now i am the web developer" yeah and credit goes to you thank bro

  • @RaviKumar-lp9zd
    @RaviKumar-lp9zd 4 года назад

    Thank you so much for this design. This design will be part of my new web page design...

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

    Thank you dude! I have been searching for this for ages!!👍👍👍

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

      glad you like it. you could help support us to make more tutorials by sharing it to your friends :)

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

      @@RedStapler_channel yes thank you!👍

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

    Great tutorial👍🏻 straight to the point

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

    This helped me so much. Thankyou!

  • @chowooizy1348
    @chowooizy1348 Год назад

    thank you so much, this is really helping and easy to understand

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

    Thank you very much for this video, looking for this solution.

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

    Thank you so much! This works as a dream

  • @An-yh2bl
    @An-yh2bl 2 года назад

    It looks sooo cool! :)

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

    You are simply great...💛

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

    That was awesome !!.. thank you for this great tutorial..!!

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

    love your channel bro from INDIA

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

    Wow! This Is A Great Educative Video

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

    This is really helpful. Thanks for sharing.

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

    Thank you! This is so awesome

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

    Very helpful! Thank you so much!!

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

    Cool, i will use it on my next project! Thanks a lot.

  • @Rafael-Bravo
    @Rafael-Bravo 3 года назад

    Gotta say it... thank you VERY MUCH!

  • @chakabani123taftouf7
    @chakabani123taftouf7 5 месяцев назад +1

    very good, continue...

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

    Thank you #RedStapler!😘

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

    Thanks so much!!it really helped me!! :))

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

    excelent!! thanks you for the content :D

  • @GivanildoOliveira86
    @GivanildoOliveira86 Месяц назад

    Thank you, thank you, thank you!!!

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

    Thanks so much for the tutorial.

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

    Thanks a lot for posting this video

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

    bro this is gold

  • @Allinone-ll7ms
    @Allinone-ll7ms 2 года назад

    Gud bro very informative tutorial.. love you

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

    Good work keep it up!! :)

  • @MohsinKhan-rj6ll
    @MohsinKhan-rj6ll 3 года назад

    Thankyou so much bro it help me alot

  • @alanrush1381
    @alanrush1381 2 года назад +1

    What do you think would be the best way to draw a donut shaped div? Like an element that has all the properties of a normal div e.g. hoverable and can have eventlisteners added to it?

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

    Wau, la verdad es que si me ayudo mucho, Thanks

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

    thank you so much for this video

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

    Thank you so much!

  • @sanaeareina5371
    @sanaeareina5371 Год назад

    Thank you so much

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

    Amazing video never knew how this was done, now I know!

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

    Much love

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

    Nice!

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

    Smart approach! With your method! Could I add also gradient curved shape?

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

    thank you so much :D

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

    Thank you

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

    oh, it's fun!

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

    love your voice

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

    Awesome

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

    This is so easy to understand thank you!

  • @penge.shanghai
    @penge.shanghai 3 года назад

    Wow 💯

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

    Hi, when i run the source code provided in the description, only half of content can be seen, the bottom curve overflows and hidden as you put overflow:hidden. if i set auto then i have to scroll to bottom to see the full content. The whole content is not taking the browser's height How can i solve this?

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

    you rock

  • @anaturuchii1389
    @anaturuchii1389 Год назад

    Thank you for this. Can the white part be removed?

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

    what's ur mic name
    or link of buying it plz
    and thanks for this awesome tutorial

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

    thanks

  • @hazhohuman
    @hazhohuman 29 дней назад

    what about the external SVG files, to be used as clip-path of the elements while the size of the element unknown and still the SVG applied as clip-path, to be in the boundaries of the elements applied on

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

    Which website did you use for creating that svg

  • @user-eo3bs3dz3f
    @user-eo3bs3dz3f 7 месяцев назад

    is there no way to put the path in css? ive been doing it in css with simple shapes, but id like to make a shield shape

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

    what if I want to have a wavy design on the right side?
    Thanks

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

    I've changed the height of the div curved, but the svg block stay still, it doesn't move down to the end of the div and it makes a HUGE bottom line, can you help me?

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

    do you kno anyway that you can make a gradient as the color?

  • @kinglytical
    @kinglytical Год назад

    can i add more height to the gradient and how i do it

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

    cannot remove white space around svg. This issue is only visible on mobile. svg display is set to block, margin:0. What else could be done?

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

    Thanks alot..Please share the tools link in the description.

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

    Can you also send the link for the SVG Path generator?
    Thank you so much.

  • @mateuszabramek7015
    @mateuszabramek7015 4 года назад +3

    Nice effect, but to be precise div shape didn't changed. CSS clip-path could change it, but it would be spikey.

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

      the problem with clip-path is it also clip the content, making it difficult to design :(

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

      @@RedStapler_channel let's say user have to click something, just beyond edge of this svg shape - how would you do that? pointer-events:none for whole div? Edit: I had to make once nav menu of such fancy shape, if I remember well I've made it frome pure svg, no div.

  • @ThatGuy-xu8ml
    @ThatGuy-xu8ml 3 года назад

    Which software are u using ?

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

    Many thanks for this video. I have a problem with the upper curve under Firefox: i.e. the bottom line is still appearing even after changing the last viewbox value. Would you have a solution to this problem? Many thanks in advance.

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

      Did you put your svg as "display: block"? I was having the same problem, but it was because I forgot about the display.

    • @rawrsophiex
      @rawrsophiex 2 года назад +1

      @@goofy7791 youre the bESTTTT

  • @ridwanullahisuleiman6423
    @ridwanullahisuleiman6423 2 месяца назад

    ❤😊

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

    Sir there is line on the bottom of it, i did change to 320 to 319 but i still remains, please helpp

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

    Thank you for this tutorial, what theme are you using in vs? it's just awesome and clean.

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

    I clicked on this video and the advertisement I got was "I'm in love with the shape of you" song 😑😑

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

    How can we do that on Shopify ?

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

    Is there a way to import a .svg file into a tag, and apply a background-image with css?

  • @user-vd1wk5tu1w
    @user-vd1wk5tu1w Год назад

    isnt'it a white stapler of background having red.

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

    3:38 what if this line still appears after this? :/

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

    It's a white Stapler though...on a red backdrop.

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

    How to reduce height if I want to?

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

    what program are you using?

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

    But the stapler is white

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

    you are funny

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

    Your stapler is definitely white

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

    i selled this to a customer for 100 €

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

    Thank you

  • @OmarAli-mc7ri
    @OmarAli-mc7ri 2 года назад

    thanks

  • @Robert-gr1cl
    @Robert-gr1cl Год назад

    there is a white line between the two svgs.. what can i do to remove it? nothing works