Awesome CSS Search Box Using Only HTML & CSS

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024
  • Download Files From Here
    www.darkcode.i...
    DarkCode in Facebook
    / 704904666369941
    Paypal Donation Link
    paypal.me/YBen...
    Music__
    Music Name : Different Heaven - Nekozilla (LFZ Remix) [NCS Release]
    Music Link : • Different Heaven - Nek...
    Artist Social Networks :
    LFZ
    • / lfzmedia
    • / lfzmusic
    • / imlfz
    Different Heaven
    • / different-heaven
    • / differentheaven
    • / differentheaven

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

  • @peternguyen9995
    @peternguyen9995 5 ปีที่แล้ว +372

    I laughed so hard at the debugging moment at 4:26. He probably thought: "Wtf is wrong here" lol.
    true-for-every-developer moment. XD

    • @frog706
      @frog706 5 ปีที่แล้ว +18

      And it was silly typo. Like usual for us devs

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

      Haha, i always

    • @jonesy_b
      @jonesy_b 4 ปีที่แล้ว +6

      He was at that moment that he thought, he fuckt up

    • @obnah
      @obnah 4 ปีที่แล้ว

      relatable dilemma

    • @JackySupit
      @JackySupit 4 ปีที่แล้ว +7

      unfortunately he found it so fast, while we spent hours + couple of coffee and aspirin until we found it :((

  • @gb-wo9gs
    @gb-wo9gs 4 ปีที่แล้ว +58

    4:26 That anxiety when you know the error but could not help...

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

      I was going to comment about it and here everybody is talking exactly the same lol

  • @PetersonF
    @PetersonF 5 ปีที่แล้ว +256

    Thanks, I will make a new version of Google with this

    • @eboubaker3722
      @eboubaker3722 5 ปีที่แล้ว +2

      Goof luck
      :P

    • @gangstasteve5753
      @gangstasteve5753 5 ปีที่แล้ว

      I made something kinda like it with php it works with s but not all websites allow s.

    • @stevengaylord2538
      @stevengaylord2538 5 ปีที่แล้ว

      Gangsta Steve is there a url for this project?

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

      How can I make the bar from the center go to the left? Not like in the video half right and half left.

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

      Same bro

  • @dwikx
    @dwikx 5 ปีที่แล้ว +25

    lol it was easier than i thought thanks mate :D. now i am interested to learn some css code

  • @And1Rush
    @And1Rush 6 ปีที่แล้ว +6

    This is so good. Love the background music. Although i am a beginner at this, i didn't mind the speed as short videos are much more appealing. The best part is that it was such a simple yet cool design.

  • @rabit1998g
    @rabit1998g 5 ปีที่แล้ว +14

    i cant stop watchin your videos ur amazing

  • @alvarojflores
    @alvarojflores 5 ปีที่แล้ว +30

    In spanish: excelente vídeo, agradezco que compartas tu talento, me gusta que puedo seguir la escritura del código. Saludos desde Nicaragua!

  • @luis96xd
    @luis96xd 5 ปีที่แล้ว +12

    Amazing tutorial! This is a great effect. Thank you very much! :D

  • @PurchaseAreaMusic
    @PurchaseAreaMusic 5 ปีที่แล้ว +28

    4:07 to 4:35 In my head all I can hear is myself screaming SREACH! haha Cool video!

  • @RicoGalassi
    @RicoGalassi 5 ปีที่แล้ว +2

    So i just left a comment yesterday about subscribing. I just started a new folder on my computer with your projects. I'll be watching your videos and typing the code along with you so I have a nice library of different things for my sites (:

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

    You guys are really lucky to have this kind of creativity.. basically I don't have creativity at all lol..

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

    Very first time, TH-cam recommended me channel whom I was seeking for.❤️❤️

  • @hassuunna
    @hassuunna 6 ปีที่แล้ว +54

    Very cool tutorial but better to listen your voice understanding why particular things are used, or even comments with English

    • @DarkCodeOnline
      @DarkCodeOnline  6 ปีที่แล้ว +6

      thank you i will try =)

    • @TechAllByHarshit
      @TechAllByHarshit 5 ปีที่แล้ว

      @@DarkCodeOnline Please reply me, can i use these codes to make a video and upload on my channel? if u allow me to.

    • @shyamjaiswal04
      @shyamjaiswal04 5 ปีที่แล้ว

      @@DarkCodeOnline bro will u please make a video of working search bar as this has a good effect but will not work. Requesting please make a video.

    • @gustavo-fj2mv
      @gustavo-fj2mv 5 ปีที่แล้ว

      @@TechAllByHarshit this is not his property lol, you can use it.

  • @BobaT__
    @BobaT__ 3 ปีที่แล้ว

    I couldn't help but chuckle when you missed the "sreach" typo. This is an amazing video. Thank you so much for this!

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

    this is the first I heard about input tag !!!!!!

  • @mdyasin7008
    @mdyasin7008 5 ปีที่แล้ว +3

    love this video. make more video like this and really helpful. Love from Bangladesh

  • @adekorir
    @adekorir 5 ปีที่แล้ว +2

    Definitely subscribing. Awesome skills.

  • @digiexploration530
    @digiexploration530 5 ปีที่แล้ว +2

    Thanks for the video. Great stuff. I actually quite rarely come across videos without any voice commentary and I actually like it a lot. You don't need the commentary. In order to implement this trick, you need to have a basic understanding in html and css. then you just repeat the steps, pausing wherever you need.
    So, I think that having no voice commentary is a pretty good solution in this case.
    The music was too energetic and loud tho, so I just swtiched it off after 10 seconds. Watching this video in complete silence was OK...
    So, all those people who say that the creator needs to provide the voice commentary should just try switching off music and watching the video silently.
    At the same time, I understand that it's not OK for a youtuber to create a video without any sound, coz this might be pretty suspicious for the internal automated checking mechanisms here, so having some slow and melodic music (not classics) might be the best option.
    If I ever come around to making videos like this on some specific tricks, I think I would use melodic and slow music - something from the relaxation music corder of the youtube universe.

  • @hadwayx
    @hadwayx 5 ปีที่แล้ว +3

    Hello! Thank you very much for this lesson. You help me to learn many things.

  • @gvsakhil143
    @gvsakhil143 5 ปีที่แล้ว +12

    Wow its looking great bruh... I have implemented this search box in my project :-)

  • @deepikadg6674
    @deepikadg6674 5 ปีที่แล้ว +2

    Thanks for introducing very easyeiest method

  • @piiit5571
    @piiit5571 5 ปีที่แล้ว +2

    If you add .search-txt:focus after .search-box:hover > .search-txt in css, the field will also stay, when the mouse goes somewhere else. Its a bit more user friendly. Apart from this nice and actually quite simple effect. Thx for sharing it.

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

    Nice, Elegant and simple loved it .

  • @prodkoshi
    @prodkoshi 5 ปีที่แล้ว

    Thanks this is my next target to do im pretty new to css

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

    awesome! step by step to learn Thanks Man!

  • @garishere
    @garishere 5 ปีที่แล้ว

    Very inspiring and creative! Love the music too! So many other videos bore you to death with silence.

  • @Harsh-lt5gg
    @Harsh-lt5gg 5 ปีที่แล้ว

    This search bar is awesome! 😆 I love it!

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

    yassine benlachheb jabtak ola la btawfi9 khoya hadchi wa3ar

    • @DarkCodeOnline
      @DarkCodeOnline  5 ปีที่แล้ว

      akhoya masmaytich yassin zid 9aleb chwya hhhhh

    • @muhammedmeftahi6969
      @muhammedmeftahi6969 5 ปีที่แล้ว

      @@DarkCodeOnline Hhhh makathamch smiya akhay lmohim rak waldna hh o tbark allah 3lik Proo hadchi kaycharaff pls sifat liya invit 3andi afkar dyal des site momkin nkhadmo bjoj hahowa facebook nta3i facebook.com/MuhammedMeftahi1

  • @edsonsilva-id1sx
    @edsonsilva-id1sx 4 ปีที่แล้ว

    Beautiful search box. Congrats!!!

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

    You are amazing...
    Good work!

  • @FaizSheikh
    @FaizSheikh 5 ปีที่แล้ว +25

    Music is irritating, slow melodious music will be good.

  • @rajaryan7566
    @rajaryan7566 3 ปีที่แล้ว

    nice bro, short and clean video

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

    excellent video, in my opinion to center the "search" icon is more advisable to use: text-align: center; line-height: 40px;

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

    I just finished one of the forms tuts and I'm so excited to do this. It's so rewarding compared to 1-2 hour long tutorials where you often fall at the first hurdle and get demotivated - I've been following the same to a tutorial (from another channel obviously) for like a week now and haven't finished so your work is a breath of fresh air
    subbed and clicked the bell - I don't do that often ;D

  • @empireoftrading3310
    @empireoftrading3310 5 ปีที่แล้ว

    Outstanding bro.... I really love this box as a I'm beginner

  • @dvgamingboys3738
    @dvgamingboys3738 3 ปีที่แล้ว

    wow it work o my god thank you so much .im just now subcribe

  • @enzolizana1678
    @enzolizana1678 5 ปีที่แล้ว

    I had some problems with the fontawesome, because the page now it's different. But I just copy the link in your video and it works! Thanks. Im gonna present a homework that is in other level hahaha.

  • @plutus4047
    @plutus4047 3 ปีที่แล้ว

    After learning web development these are the kinda things that catch my eye..

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

    You helped me a lot bro. One more subscriber. Mais um fã e Brasileiro.

  • @umair5807
    @umair5807 4 ปีที่แล้ว

    thanks a lot. i solved my big issue by watch ur tutorial

  • @FutureAIDev2015
    @FutureAIDev2015 5 ปีที่แล้ว

    I made a copy of that and figured out how to recolor it to the Minnesota Vikings' colors!

  • @bmancia
    @bmancia 6 ปีที่แล้ว +2

    So cool thx for this^^

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

    thx bro loved this it is so awsome

  • @MrCrossfire2012
    @MrCrossfire2012 5 ปีที่แล้ว

    You're great, man, thanks a lot !!!

  • @xrt-un6hx
    @xrt-un6hx 5 ปีที่แล้ว +5

    thx and keep going:)

  • @user-xk2xl8hb8i
    @user-xk2xl8hb8i 5 ปีที่แล้ว +1

    Awesome. Thanks!!

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

    Would using focus instead of ,or as well as hover, be a good idea so that the text input stays visible while typing even without the cursor being over it to be active?

  • @two-zero
    @two-zero 4 ปีที่แล้ว +1

    Thank you DarkCode.

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

    ahh , feel so good , thanks man

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

    4:25 he was at this moment that he thought, I fuckt up...

  • @eslamreda8753
    @eslamreda8753 5 ปีที่แล้ว

    I experimented with it and worked in a problem with the shape of the lens Biegi under the line and the shape of the monster

  • @Megakiller-006
    @Megakiller-006 3 ปีที่แล้ว +1

    Thank U so much!!!!!!!!!!!!!!!!!!
    You are a God :)

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

    thanks alot bro, this is beautiful

  • @arpitshukla1627
    @arpitshukla1627 3 ปีที่แล้ว

    One of the best coding tutorial channel

  • @israrcomsian7818
    @israrcomsian7818 5 ปีที่แล้ว +4

    awesome code Thanks Bro!

  • @DivineZeal
    @DivineZeal 5 ปีที่แล้ว

    Awesome ty

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

    this is so good :) thank you

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

    Stunning

  • @ramonguerrero5399
    @ramonguerrero5399 3 ปีที่แล้ว

    Tip: Use button instead of anchor. An anchor is not semantically correct here.

  • @mohsingraphicsstudio5398
    @mohsingraphicsstudio5398 3 ปีที่แล้ว

    Its awesome keep up the good work

  • @muhammadowais2873
    @muhammadowais2873 4 ปีที่แล้ว

    tthank you so much,please make more video of different style of createing web page and more, thank you

  • @thanhlamnguyenvo5717
    @thanhlamnguyenvo5717 3 ปีที่แล้ว

    i wonder how to make the search box doesn't get smaller when we blur the pointer out of it ( when typing the input )?

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

    Great video, but I have 2 problems:
    My search logo is kinda underlined, and when I refresh, there's a white flash to the left of my search logo. I know this is because of the transition, but yours doesn't have it and I'm not sure how to fix it. Help would be appreciated :D

  • @aniketsharma3525
    @aniketsharma3525 6 ปีที่แล้ว +2

    Amazing man

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

    how can we make the thing only extend from the right, and not from both sides?

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

    Amazing bro

  • @sapmation
    @sapmation 3 ปีที่แล้ว

    Excellent! But can you please make a video on how to add a search mic in the search bar

  • @sekhar14301
    @sekhar14301 5 ปีที่แล้ว

    Super... very excited to watched this video

  • @grainfrizz
    @grainfrizz 5 ปีที่แล้ว

    CSS is stubborn but undeniably exemplary kid in the school

  •  5 ปีที่แล้ว +1

    Awesome!

  • @Chhiling08
    @Chhiling08 5 ปีที่แล้ว

    thanks, mate for the tutorial

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

    at that moment "cell" felt the true terror 4:26

  • @nh4843
    @nh4843 5 ปีที่แล้ว +3

    music is kinda annoying, but the content is perfect. subscribed

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

    Awesome, osm sir... U r great

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

    Awesome!!

  • @genxindia1154
    @genxindia1154 5 ปีที่แล้ว +2

    Hey darkcode,
    I need your help...
    How can i make this box search content?

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

    Thank you!

  • @user-fv3vf5wo9p
    @user-fv3vf5wo9p 5 ปีที่แล้ว +1

    awesome ,thanks

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

    Thank you

  • @DeadWeightBeatsUK
    @DeadWeightBeatsUK 5 ปีที่แล้ว

    I seem to be having major problems. The search button is not in the center when I hover over it. It's underneath the search box and I don't know how to get in to be centered. Any help would be amazing.

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 2 ปีที่แล้ว

    Gracias compa , oajlá puedas subir mas elementos asi

  • @user-wf7we9kr8d
    @user-wf7we9kr8d 5 ปีที่แล้ว

    Superb Bhai very helpful

  • @eness.2384
    @eness.2384 5 ปีที่แล้ว +2

    nice channel my friend learning lot of new things can u tell me the program for catching the color codes ?

  • @programador010front-end
    @programador010front-end ปีที่แล้ว

    Great content, I'm trying to make videos similar to yours, congratulations for the didactics!

  • @kestrel9
    @kestrel9 6 ปีที่แล้ว +2

    Awesome 👍

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

    Bro how can i keep the hover without resizing after clicking on the search text area pls reply!!

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

    Okay thanks but what if the user is typing in the input and put the cursor outside the search box ?
    Have you made a video with an other posibility ?

  • @frandeclich
    @frandeclich 3 ปีที่แล้ว

    I don't know anything about css, I just like the music

  • @abhimanyukhanwalkar6075
    @abhimanyukhanwalkar6075 6 ปีที่แล้ว

    I tried it myself and i love it. there is just one problem. when
    i set my search text width at zero my search box does not
    shrink accordingly.

  • @vuejsdev
    @vuejsdev 4 ปีที่แล้ว

    gracias, es exactamente lo que buscaba

  • @igorcotet8962
    @igorcotet8962 4 ปีที่แล้ว

    How can I make the bar from the center go to the left? Not like in the video half right and half left.thanks

  • @kemour8
    @kemour8 5 ปีที่แล้ว

    Great, well done buddy

  • @septiantonrezkirahmatulloh7411
    @septiantonrezkirahmatulloh7411 4 ปีที่แล้ว

    Simple ..
    Amazing brow :)

  • @mohammadmirza6345
    @mohammadmirza6345 4 ปีที่แล้ว

    Beautiful search bar

  • @MarocMaroc-tl5ht
    @MarocMaroc-tl5ht 3 ปีที่แล้ว

    thanks for the video, but why when I shift the search box to the left and I put the mouse on it the search btn goes down?

  • @GamingBub
    @GamingBub 3 ปีที่แล้ว

    I'm currently having an issue and I'm not sure what is going on.
    I have the translate on -100 so it comes out of the button on the left, and I'm trying to put it to the left of the page but after a certain amount when you hover over it the search bar comes out and the icon and such move down to underneath it.

  • @TrippBOOMOneFunnyGuy
    @TrippBOOMOneFunnyGuy 5 ปีที่แล้ว

    I’m trying to put this search box in a grid side bar but it places it in the center of the page. I tried changing the top and left % to position the box right where I wanted but when I resize the browser the search bar jumps all over the page instead of staying in place where I want it. How do I fix this? I love this responsive design it looks great but I want it stuck to a specific place but it changes places with the browser size. Also for me the circle isn’t perfectly centered in the bar. I’ve compared my code to yours over and over again but it seems to be exact. I’d be nice to get a screen shot of all the code viewable on one page so I don’t have to keep bouncing around in the timeline to compare my code to yours

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

    Amazing !

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

    What will come after search