Transparent Login Form with floating Placeholder Text - Pure CSS Label Slide Up on Focus - No jQuery

Поделиться
HTML-код
  • Опубликовано: 23 окт 2017
  • Enroll My Course : Next Level CSS Animation and Hover Effects
    www.udemy.com/course/css-hove...
    Another Course : Build Complete Real World Responsive Websites from Scratch
    www.udemy.com/course/complete...
    ------------------
    Join Our Channel Membership And Get Source Code Everyday
    Join : / @onlinetutorialsyt
    ------------------
    Source Code : / source-code-form-36809303
    ------------------
    Please LIKE our Facebook page for daily updates...
    / online-tutorial-html-c...

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

  • @OnlineTutorialsYT
    @OnlineTutorialsYT  4 года назад +10

    Source Code : www.patreon.com/posts/source-code-form-36809303

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

      cant i get the source code for free

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

      @@vishalsadhnani1042 then type yourself then

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

      MikeTheGameDev bro why?

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

      @@vishalsadhnani1042 no, idiot, code aint freer... what u think this is?

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

      @@mikethegamedev yea, hear this idiot? "Can't I get the source code for free"? lol

  • @remdem622
    @remdem622 6 лет назад +157

    here is the code guys! :

    Input From UI Design


    Login

    username

    password


    CSS:
    body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: url(file name);
    background-size: cover;
    }
    .box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 40px;
    background: rgba(0,0,0,.8);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.5);
    border-radius: 10px;
    .box h2 {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    color: darkseagreen;
    text-align: center;
    }
    .box .inputBox {
    position: relative;
    }
    .box .inputBox input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
    }
    .box .inputBox label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .5s;
    }
    .box .inputBox input:focus ~ label,
    .box .inputBox input:valid ~ label {
    top: -20px;
    left: 0;
    color: #03a9f4;
    font-size: 12px;
    }
    .box input[type="submit"] {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    background: #03a9f4;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    }
    note: i have some things colored in too!

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

      I love you

    • @remdem622
      @remdem622 6 лет назад +3

      +Just Coding thanks! glad I helped!

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

      ich liebe dich

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

      Thank you So Much

    • @remdem622
      @remdem622 6 лет назад +2

      + Granit Rahmani Ich bin sehr froh, dass ich geholfen habe

  • @OnlineTutorialsYT
    @OnlineTutorialsYT  5 лет назад +13

    please like and share this video...
    and also SUBSCRIBE my channel for daily new video...and don't forget to press the bell icon for daily notification

    • @Doms.s
      @Doms.s 5 лет назад +1

      but sir how to link the Submit text into another html?

    • @Sm.khalidh
      @Sm.khalidh 5 лет назад

      Can u send me the code repo please.. it is very helpful to understand.

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

      Will you please share the code

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

      Nice video, i dont get why transform -50% works to center instead of back to initial position. Thank you if u can answer

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

      Give me coding

  • @Jewish5783
    @Jewish5783 5 лет назад +7

    Whenever i see things like these...am just thrilled and excited. What a joy programming brings!

  • @saulosouza5494
    @saulosouza5494 5 лет назад +16

    That works perfectly. Thanks from Brazil.

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

    This code executes to perfection! Thank you! Quite a few other sites ,s=who offer the same video- wasted my time...THIS WORKED BEUTIFULLY! THANK YOU GUYS!❤️

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

    You are amazing teaching. Thank you so much for everything

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

    it was very wonderful , keep going ,thank you

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

    I liked very much as a refresher. The Best and so is the Music

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

    This code executes to perfection! Thank you! Quite a few other sites ,s=who offer the same video- wasted my time...THIS WORKED BEUTIFULLY! THANK YOU GUYS!️

  • @AlexSandro-te9ci
    @AlexSandro-te9ci 5 лет назад +3

    Muito obrigado, aprendi mais uma agora. Ótimo para usar esses efeitos.

  • @AAA-bo1uo
    @AAA-bo1uo 5 лет назад +3

    As soon as I saw tthis I figured out how to do it within seconds, but I can never pull out such a beautiful design and colors!
    Good at programming != good at design
    That's just beautiful mate, nice work!

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

    essa forma de centralizar a caixa utilizando o "tranform: translate" eu não sabia. Sensacional!

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

    Great form and "Happy Diwali" to you and yours.

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

    This soundtrack made me watch the entire tutorial ;) loved it .

  • @reksmeyok1957
    @reksmeyok1957 6 лет назад +6

    Thank for your great login video

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

    Simple and beautiful.

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

    Thank you for sharing your knowledge

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

    i've seen your videos, you're so good hahahah!
    sometimes i increase some of your codes on my website. It's on building, but its getting being great thanks you

  • @Abhishekkumar-zo7ob
    @Abhishekkumar-zo7ob 6 лет назад +1

    thankyou its help me alot

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

    God bless you dude you are a great developer

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

    Nossa, muito bacana 👏👏👏
    Poderia fazer a parte 2
    Abrindo outra tela que tenha alguma coisa

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

    Thank You Soooo Much For Your Video...It Helped Me A Lot Today... Now I Am Able To Submit My Assignmet With Satisfaction....

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

    Thay was Awesome... 🤟🤟💥💥

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

    amazing keep it up dude

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

    Brother thank you so much you are training use full thank you so much

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

    Life saver!!! Thanks ❤️

  • @SohelRana-wi5kt
    @SohelRana-wi5kt 2 года назад

    Excellent tutorial

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

    Awesome tutorial

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

    Real good stuff. thanks alot

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

    Great Video... Love and support from Pakistan 😍 🇵🇰

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

    this really helps me thanks brother

  • @Deen-e-Haqqq
    @Deen-e-Haqqq 4 года назад

    Good job make more videos related to this with different creative design..✌✌✌✌

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

    thinks a lot , i mad this form with flask and cefpython it looks solid rocks

  • @Yazen.hamdan9
    @Yazen.hamdan9 3 года назад

    thank u a lot sir , u help me in my final project in my collage with this perfect design

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

    nice workkkk..........thank you share inspirational video

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

    excellent video. Thank you very much

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

    keep it up bro.. amazing video

  • @RakibulIslam-lw3ho
    @RakibulIslam-lw3ho 5 лет назад

    Thank you it's working.

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

    I think u deserve more subscriber, keep it up bro....👌👌👌

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

    You are hero, my king

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

    Thank you for the video

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

    awesome tutorial man

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

    amazing stuff!!

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

    Nice job bro!!!

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

    Gracias! Eres increíble!!

  • @MohdAsif-mz8vx
    @MohdAsif-mz8vx 4 года назад +1

    Amazing coding

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

    perfect video thanks

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

    Muy bien genio! muchisimas gracias

  • @user-ho1rj2xy1k
    @user-ho1rj2xy1k 4 года назад

    LIKE FROM CENTRAL ASIA🇰🇬

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

    I just love it...

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

    spectacular video.

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

    Superb tutorial.

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

    ME SALVASTE LA VIDA BRO

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

    Beautiful.

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

    greaT Tutorial brother:)

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

    excellent good video

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

    Userame... nice tutorial!

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

    Thanks a lot my indian friend

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

    Beautiful

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

    You are the best...

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

    Thanks from Iraq

  • @CR7MEXICO25
    @CR7MEXICO25 6 лет назад +2

    what's the resolution of your background?

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

    very nice, thanks

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

    thanks from IRAN

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

    Thank you, bro! Do you think this code will work perfectly in responsible web sites?

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

    Very Thanks !

  • @alexandra-dianastoica4970
    @alexandra-dianastoica4970 5 лет назад +2

    song: Crypttic Sorrow-Meditation & Relaxation & Healing Music

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

    Awesome

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

    Wonderful

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

    thank you man

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

    i am now looking at my successful login form with tears on my eyes

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

    thanks you

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

    Axsan bro wa cajib

  • @AngelGarcia_103
    @AngelGarcia_103 4 года назад +7

    I listen to the background music, depression increases

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

    God bless you

  • @ngjo-yi2120
    @ngjo-yi2120 5 лет назад

    tq.its helpful

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

    nice...

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

    Finally #thnx u

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

    *_Nice_*

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

    super sir

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

    Professional

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

    Perfect video but I've got a problem. If my input fields are not "required" the labels are always above. Do you know how I can fix that? :)

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

    Osm bro..

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

    Thanx aloooot

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

    obrigado

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

    Thanks you

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

    thank you

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

    Nice..

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

    Parabens

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

    Bro do you have any idea on ripple effect on buttons. Pls share if you have that.

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

    thanks

  • @valentinstefanov1502
    @valentinstefanov1502 3 года назад +1

    This is the song if someone ask
    I
    I
    \/
    Cryptic Sorrow - Atlantean Twilight ~ Kevin MacLeod
    Thx for the video i like it and the music too you have good taste

  • @PavanKumar-nk3ht
    @PavanKumar-nk3ht 6 лет назад

    Great

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

    Why appears to me the border of the text box in red when I click outside of the text area?

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

    mera background image nhi hoo rha upload aur submit button pr 'hand' jaisa pointer bhi nhi aa rha.... kya kru... plz batao na...

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

    I like the music more than the video

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

    Dude I think the background music is scary for me XD

  • @MuhammadAdnan-gx6rd
    @MuhammadAdnan-gx6rd 6 лет назад +1

    #Mohammad would you please make a tutorial on owl - carousel 2 complete step by step. .... with transparent menu. .....

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

    *nice*