Input Animations With HTML And CSS

  Рет қаралды 770,009

developedbyed

developedbyed

Күн бұрын

Пікірлер: 674
@tykemajor9442
@tykemajor9442 5 жыл бұрын
I always admire and respect anyone who takes the time to educate others. Keep this up mehn
@richiekho1159
@richiekho1159 4 жыл бұрын
He is really a nice mahn
@w3hacker
@w3hacker 4 жыл бұрын
This can make money and make lots of friends maybe.
@phucbinh9441
@phucbinh9441 4 жыл бұрын
And for free too
@DevProTips
@DevProTips 4 жыл бұрын
What he shows here can be done much more simply by installing Google's material design css kit. It took me 10 years of doing it the old way to figure that out.
@adamonjourney3726
@adamonjourney3726 4 жыл бұрын
@@DevProTips Jonah... that is what I love and hate together about kits and frameworks. Yes, sometimes it is needed to be fast and build not all from scratch. But I want it to understand all, from the very beginning. Every 0 and 1. Why a language struggle at some point. What happens in the binary... and sometimes "simple" css, which a kit could done with a 2-liner. That makes fun, that is, why we code!
@gerypilas
@gerypilas 5 жыл бұрын
If the input is not required, we can use the ":not(:placeholder-shown)" instead of ":valid". And in the html code for the input field add a placeholder with the value " "(space).
@Svetoz
@Svetoz 5 жыл бұрын
thank you! it's exactly what wasn't shown in this tutorial!
@serjmarkelov9915
@serjmarkelov9915 4 жыл бұрын
There's a special place in heaven for such a good persons like you;) Thanks mate!
@pranoychow3808
@pranoychow3808 4 жыл бұрын
Thank you! I didn't have "required" specified and was wondering why it wasn't working. This worked perfectly!
@kalitbh5250
@kalitbh5250 3 жыл бұрын
Thanks a lot mate ... I was having a tough time with it .
@mikegogl
@mikegogl 3 жыл бұрын
thanks bro, I was just gonna do a google search on this but decided to scroll to the comments first.
@clevermissfox
@clevermissfox Жыл бұрын
Instead of putting overflow hidden and translating the pseudo element outside of it, I tend to transition the width from 0 to 100% and adjust the transform-origin. Nice tutorial thanks !
@santiagozambrano1139
@santiagozambrano1139 4 жыл бұрын
What you taught may seem simple but you can see the enthusiasm and love of this guy :D
@mjdev-i1p
@mjdev-i1p 3 жыл бұрын
I know css for almost 17 years now so this is nothing new to me but I still have to say that I am impressed how you present that knowledge. This is an excellent tutorial because you pack so much usefull CSS-features in as little as 18 minutes. Sibling-Selecors: Check; Transforms: Check; Transitions: Check; Sticking to the topic: Check; If someone asks me where to learn CSS i will reccomend your channel.
@fadouarasmouki725
@fadouarasmouki725 5 жыл бұрын
Thank you so much Dev Ed, I am a computer science graduate from Morocco who stopped coding for four years almost, but thanks to your videos and the charismatic way you explain concepts, I am finally starting to get a taste of it back.
@backgroundnoiselistener3599
@backgroundnoiselistener3599 4 жыл бұрын
I like how excited you are to teach coding. People like you make great teachers
@HERLEYPUENTES
@HERLEYPUENTES 4 жыл бұрын
The first lines of the CSS code are. *{ margin: 0; padding: 0; box-sizing: border-box; }
@Futureblur
@Futureblur 4 жыл бұрын
This comment makes literally no sense
@gabrielalencastro189
@gabrielalencastro189 4 жыл бұрын
Thanks, you save me kkkk
@jamesmcconnon2
@jamesmcconnon2 4 жыл бұрын
This makes total sense. He is letting people know to add the typical "reset styles" and also setting the browser to interpret the box sizings correctly. If you check out what a reset stylesheet is, you will understand why this is sometimes neccesary. Also i think it is fair to point it out, especially when you are messing with padding and positioning in a html/css project. it is such a normal proccess at the start of a project that Ed didn't mention it.
@aayushgupta2648
@aayushgupta2648 4 жыл бұрын
yes this comment helped me out,,too thanks buddy
@prateekmahajan1929
@prateekmahajan1929 4 жыл бұрын
Exactly
@hyfydistro
@hyfydistro 4 жыл бұрын
The humour Ed sometimes throw in is astounding. "We'll be a triangle next time!" 😂 Great work on the tutorial!
@thecnexperience
@thecnexperience 4 жыл бұрын
This was such a nice tutorial. No new techniques or anything but it all just came together so perfectly! Started to follow you after watching couple of React tutorials. I liked the easy going approach to a subject at hand but the quirky humour was just priceless! Thank you and hopefully you keep posting the videos!
@Jakersfire
@Jakersfire 5 жыл бұрын
Top tutorial Ed, you are putting out some really great modern content, your channel is going to blow up for sure and it will be fully deserved, more of these please
@developedbyed
@developedbyed 5 жыл бұрын
Thanks so much! I am working 24/7 to provide quality videos now!
@HaxGuru
@HaxGuru 5 жыл бұрын
True
@steve_matin
@steve_matin 4 жыл бұрын
"We're learning code, and we're learning shapes at the same time" Those are like... my two favorite things.
@Pupan0102
@Pupan0102 5 жыл бұрын
been studying soft dev for 3 years and today i learned more css than in all these years xD
@MohammadYs77
@MohammadYs77 4 жыл бұрын
I cannot thank you enough for sharing your beautiful and practical ideas, You've literally taught me 10 times more than my professor. Thank You
@arnoldcarrot2947
@arnoldcarrot2947 5 жыл бұрын
"Grab your font-family and bring them to the sheriff" that really made me laugh.
@yashwanthsagar4204
@yashwanthsagar4204 4 жыл бұрын
I was literally looking up for this comment
@TotoOrchestral
@TotoOrchestral 4 жыл бұрын
*grab your family and bring them to the sheriff
@shouryagupta2990
@shouryagupta2990 4 жыл бұрын
serif
@shouryagupta2990
@shouryagupta2990 4 жыл бұрын
@@lanye2708 how do you italicize text in your comment?
@billyfairbank
@billyfairbank 5 жыл бұрын
Professional dev of many years and that's a technique I've never seen. Well done and well explained.
@adamonjourney3726
@adamonjourney3726 4 жыл бұрын
One thumb up is not enough... I could repeat myself under every of your vidz: It makes so much fun with you to learn... you have fun with what you do and this is what we can see, all your smiling and joking. You show small typos or mistakes and that makes you more humand than some perfect coordinated tutorials without mistakes. You describe things sometimes even only as a sidenote, which helps me to understand better at some points, which I didn´t have learned quite yet. You motivate myself to go further and learn more. More of that, please, more of you ;)
@ryejames00
@ryejames00 3 жыл бұрын
You don't know how much this helps me today. Uggh! Thanks. More kinds of this please.
@kwasiezor1630
@kwasiezor1630 5 жыл бұрын
I do really appreciate all the videos that you post on channel. Great job Dev. And I get really fun and pleasure watching your works. Thanks for everything
@Oughnutsdndaizzap
@Oughnutsdndaizzap 4 жыл бұрын
I have to say that transition at the end was beautiful 👍🏼
@lorinleatham7527
@lorinleatham7527 4 жыл бұрын
You are the best Dev!!! Funny and educational, you're the Mr Rogers of programmers!
@cybergen49
@cybergen49 4 жыл бұрын
A minute and 36 seconds in and I've already learned how to disable that pesky autocomplete, super useful.
@kurtisenos2251
@kurtisenos2251 3 жыл бұрын
I would just like to advise people to not be put down if this tutorial is to complex to begin with. I'm just starting out and the other day, I watched this tutorial and didn't fully understand the last part. This was due to too much info process. So I tried multiple times in my own way and re-watched this tutorial a few times and now it sounds so simple to create this. When comes to complexity, especially with programming - break everything down and start by building the individual blocks. You will then start to learn how things are made. You may think you're wasting time as it can take hours/days/weeks, but in the long-term, it's actually a quicker process. Great tutorial Dev!
@developedbyed
@developedbyed 6 жыл бұрын
I wanna see some awesome forms from you guys!
@francisvieira4466
@francisvieira4466 5 жыл бұрын
very good video, this channel was what I needed to learn better about html, css and javascript, congratulations
@mariopurisic5133
@mariopurisic5133 5 жыл бұрын
Thanks for the video man! I have one question though, for me, the :valid selector does not work as in your case. for me, it just turnes the form i that state as by default... so when I add that css, it just applies those styles by default and not just on :focus... you have any idea why that could be?
@aliayubali216
@aliayubali216 5 жыл бұрын
Hey how old are you and when did you start coding? you are awesome by the way.
@rajnadkar7915
@rajnadkar7915 5 жыл бұрын
It worked for the first time when I developed it but isn't functional the 2nd time I opened... I didn't touch the code once it was ready.... what could be the possible reason for this error
@akhwanstudio
@akhwanstudio 5 жыл бұрын
@@rajnadkar7915 what browser do you used?
@Javoke
@Javoke 4 жыл бұрын
It’s amazing!! I just love the passion you show, I can talk by your facial expression how much you love coding!! Thanks for sharing!!
@oldstuff400
@oldstuff400 5 жыл бұрын
Really enjoy your videos! Educational, entertaining, and you have great energy. You are a very talented teacher, and I hope to see your channel keep growing. Thanks for the great content!
@talhasaleem8333
@talhasaleem8333 4 жыл бұрын
Seriously you are awesome.. best teacher respect level 1000%
@HarshRajAlwaysfree
@HarshRajAlwaysfree 4 жыл бұрын
This was really nice of you after some personal changes and function preferences im pretty sure we can make an awesome input now
@tupacan
@tupacan 5 жыл бұрын
I would not use :valid in a real-world project, since :valid checks if the input value is valid by its settings. What I mean is, if there is an input with email type and the user put an invalid email address, this will not work. In my opinion, for the animated line, a much better approach would be to use width: 0 and width: 100% instead of transform it "outside" of the form and hiding it with overflow: hidden. It would be nice if you add your codes to github, so we can all contribute. Anyways, great tutorial! Keep up.
@gabrielmareken
@gabrielmareken 5 жыл бұрын
You can use transform: scaleX, it will run at 60fps and has a plus that you can define the direction/origin. It's like the width you said, but has the point I stated above about origin/direction, plus better performance.
@milanmilutinovic9922
@milanmilutinovic9922 5 жыл бұрын
You should always have preference to use Transforms & Opacity when doing transitions and animations. The CSS render engine has 3 processes which render CSS to the page, Layout, Paint & Composite. Width uses all three whereas transform: translate would only use the Composite process to render. Check out more about how animations render here csstriggers.com/
@yakovlev_io
@yakovlev_io 5 жыл бұрын
Hope you will find it helpful kzbin.info/www/bejne/hGaoiGd-o6tpfLc
@networmx128bit
@networmx128bit 5 жыл бұрын
This could be done with :placeholder-shown selector instead
@jornejongsma
@jornejongsma 5 жыл бұрын
Yes :valid not the best suited for this purpose. If we change the input type to email, the label will go down after typing an invalid email...
@btrewern
@btrewern 5 жыл бұрын
Changed it to use : transform: translateY(-120%) scale(0.8); instead of transforming the font-size. Smoother animation!
@christopherlawes9286
@christopherlawes9286 4 жыл бұрын
Tried this but it made the text move slightly to the right.
@AndrewBone
@AndrewBone 4 жыл бұрын
@@christopherlawes9286 transform-origin:top left;
@DaisyIllustrations
@DaisyIllustrations 4 жыл бұрын
Your knowledge of CSS is amazing.
@rimantasdanilevicius6754
@rimantasdanilevicius6754 5 жыл бұрын
I agree with Daniel Watts. Your videos are enjoyable and educational and you show some new advance and cool, nice stuff. Your channel is worth to follow.
@300debasish
@300debasish 4 жыл бұрын
I like the Excitement you always keep in your videos. 👍
@ratansen4542
@ratansen4542 4 жыл бұрын
I didn't thought of it without jQuery...just awesome
@marcoytciao
@marcoytciao 4 жыл бұрын
seeing this css tricks makes me fall in love with you
@thesupremegod1
@thesupremegod1 4 жыл бұрын
This is probably one of the best tutorials I have ever watched. Easy to follow, great explanations of every step, good fucking job :D
@zacboyles1396
@zacboyles1396 4 жыл бұрын
You must not have tried entering invalid text.
@odn7769
@odn7769 3 жыл бұрын
The number selector is awesome! :D
@jornejongsma
@jornejongsma 5 жыл бұрын
Ok,... :valid selector might not be the best selector to keep the label up in all intended situations. A solution: step 1. Add a placeholder prop to the input with the value: " ". So:
@BobbyBundlez
@BobbyBundlez 3 жыл бұрын
THank youuu!!! you saved me QUICKLY. thank god i read the comments. in my case the :valid was not persisting... and the input was not even required or using any validation... but all in all BEYOND that anytime i put text into the input it would not persist between pages. the form would stay valid no matter what. thanks again!
@2002budokan
@2002budokan 4 жыл бұрын
YES! This is something worth to watch.👍
@BrettCahill
@BrettCahill 4 жыл бұрын
Second video of yours I've clicked on now. Subbed! Love what you're teaching and the positivity
@dl9926
@dl9926 3 жыл бұрын
I am mindblown right now while watching this, knowing how powerful CSS is lmao. CSS is kinda underrated due to Javascript for web-dev...
@milosleng1175
@milosleng1175 4 жыл бұрын
This guy a CSS is pro, no doubt about that!
@alan-overthenet
@alan-overthenet 4 ай бұрын
Thank you, this is excellent. I enjoyed it and learned a lot of new CSS tricks
@nocturno7887
@nocturno7887 5 жыл бұрын
Thank you Sir, I achieve this sometime ago, but your technique is much better, I was using jQuery also, and you achieved a better result only with CSS. Thank you very much master.
@paolagalli711
@paolagalli711 4 жыл бұрын
Thank you for taking your time to educate us :) it's heart warming to see someone so passionate about their work! It motivates me :) have a good day
@noahg2
@noahg2 4 жыл бұрын
you honestly deserve more subscribers and views.
@spaghety
@spaghety 5 жыл бұрын
That's a slick way to get the bottom line to animate in like that
@ThisIsmeIrving
@ThisIsmeIrving 4 жыл бұрын
What a perfect video to start my day, I love you
@francisvieira4466
@francisvieira4466 5 жыл бұрын
Very good video, this channel was what I needed to learn better about html, css and javascript, congratulations
@annm2855
@annm2855 4 жыл бұрын
I love yyyyyyyyyoooooooouuuuuuu, my best teacher on KZbin😍😍😍
@furiousjanush5776
@furiousjanush5776 3 жыл бұрын
Awesome tutorial Ed. Like all the other movies on your channell tbh.
@ranishkumar8398
@ranishkumar8398 2 жыл бұрын
We can also use 'input[required]:valid' and 'required' property in the input field in html, and I think it will be quite easy for other person to understand and manage the code in future.
@christiansaborio410
@christiansaborio410 3 жыл бұрын
Super easy to follow and enjoyable at the same time, thanks!
@skydiver97
@skydiver97 4 жыл бұрын
You're just awesome...Like your always smiling face! I was quite disturb about coding and feels irritating but you boosted me up with your cute and nice smile.....God Bless you boy!
@otaviovaladao4884
@otaviovaladao4884 4 жыл бұрын
Nice teach, i'm from Brazil and i realy appreciate u. GJ man
@farazfrank
@farazfrank 4 жыл бұрын
Awesome Ed
@BeniaminSzabo
@BeniaminSzabo 5 жыл бұрын
Awesome tutorial. I definitely learned some new things. However, after some research, I discovered that the :valid pseudo class is probably not the best choice. A better solution would be :not(:placeholder-shown) with a space as a placeholder on the input. This doesn't work in IE11 though.
@KostasOreopoulos
@KostasOreopoulos 5 жыл бұрын
The best solution is to do javascript validation and add a custom valid class, as all frameworks do, but the goal of the animation was not that. Tweaking it is pretty easy
@yaboi.hitmaizer
@yaboi.hitmaizer 3 жыл бұрын
for some reason valid wasnt working for me and this comment actually helped me a bunch, thanks!
@BeniaminSzabo
@BeniaminSzabo 3 жыл бұрын
@@yaboi.hitmaizer I'm glad my comment was helpful ☺️
@waleedashfaq1714
@waleedashfaq1714 4 жыл бұрын
Good method of giving information... I like your style of speaking and method.. I appreciate you brother..😊
@paraschouhan5205
@paraschouhan5205 3 ай бұрын
thank you for your valuable vedeo .....I love to watch your lecture , your presentation way is awesome !!!!
@elzbietakocz8243
@elzbietakocz8243 4 жыл бұрын
This is look awesome! I love it! 😍😍
@zaidsaiyed6076
@zaidsaiyed6076 5 жыл бұрын
I'm from india,you css tutorial is marvelous.Also you're behave like "professor" in money heist series..😀
@axelblaze3361
@axelblaze3361 5 жыл бұрын
you are a good teacher. I really enjoy your videos.
@jolynes-fur-coat
@jolynes-fur-coat 3 жыл бұрын
Thank you so much!!! It's a hassle to do it with libraries since you can't change the colors! Such a huge help c:
@MasterZiomekPL
@MasterZiomekPL 5 жыл бұрын
I'm comming back to this video every time I need to make a new unique input :D
@tusharpatne4860
@tusharpatne4860 4 жыл бұрын
Thank you for the video. This video cleared pseudo:class and pseudo::elements for me.
@milosleng1175
@milosleng1175 4 жыл бұрын
This is very advanced stuff though lol. I know many tech people working with CSS and nobody could do this by heart.
@antoniomargareeeetti
@antoniomargareeeetti 5 жыл бұрын
nice idea with :valid. I didn't think about it and used js)) veeeeeery nice!
@tr7343
@tr7343 5 жыл бұрын
Me too! I had problem on this case.I enjoyed the solution.
@soumyajitdey5720
@soumyajitdey5720 4 жыл бұрын
You are such a charming personality with great content! Great video
@beshoyabd-elsayed8510
@beshoyabd-elsayed8510 4 жыл бұрын
That was beautiful! Thank You for sharing that.
@danidani-cy4ex
@danidani-cy4ex 5 жыл бұрын
You are amazing. Thanks for your work.
@GlassScissors
@GlassScissors 5 жыл бұрын
Great tutorial! You actually inspire me to get more involved with the front end dev and look into the css animations :)
@Zeph90Games
@Zeph90Games 4 жыл бұрын
Thank you for being so detailed man! subbed!
@mRWiil
@mRWiil 5 жыл бұрын
Dev Ed thank you for this example, i'm new :) , you won one person more for the channel
@AnjoSoy
@AnjoSoy 2 жыл бұрын
Great explanation! Thanks for making this video. :)
@patricpires3806
@patricpires3806 5 жыл бұрын
Thx Ed for this tutorial, your channel is helping me to be a creative and discover new things about development and training my English. Thank you so much.
@4GrausDeMiopia
@4GrausDeMiopia 4 жыл бұрын
Um brasileiro? 1 anos atrás? E aí como ta?
@patricpires3806
@patricpires3806 4 жыл бұрын
@@4GrausDeMiopia Cara o conteudo dele é massa.
@4GrausDeMiopia
@4GrausDeMiopia 4 жыл бұрын
@@patricpires3806 Ta crack já em front-end?
@farhadkarimi
@farhadkarimi 4 жыл бұрын
that intro was hilarious LOOL
@languagelearner2299
@languagelearner2299 4 жыл бұрын
***Update*** Thank you for your videos. After watching your CSS positioning video I figured out my issue. I am still having issues with exact positioning, but it actually works now. It took me over three hours, so I feel like a fool. I was overthinking it and not paying attention to how I was positioning other items. ***Original message*** I tried adding a second field as he said, but they are on top of each other. I cannot seem to get them separate. I feel like a failure. The video was wonderful, what I followed along it looks amazing. I screwed it up adding again. Has anyone else had this issue before?
@charliecalunsag2384
@charliecalunsag2384 3 жыл бұрын
This is very useful i insert this to my log in form module
@andilesimelane4771
@andilesimelane4771 4 жыл бұрын
After Brad suggested you on on of his videos, i knew its gonna be quality
@членчленов-д5о
@членчленов-д5о 4 жыл бұрын
Thanks Ed ! Your video really helped me
@jesti988
@jesti988 4 жыл бұрын
love and respect from India / merry Christmas 2020
@shubhammetkar6021
@shubhammetkar6021 3 жыл бұрын
I was always fond of such beautiful stuff then material UI told me to use it's textfield with just 2-3 liines of code, things change so drastically, man!!!
@pricklypickles
@pricklypickles 5 жыл бұрын
Great tutorial, look forward to the next, hopefully many, MANY more! Thanks Ed.
@AbdullahAli-yu4hz
@AbdullahAli-yu4hz 5 жыл бұрын
This guy is so good, keep it up.
@me-by6qs
@me-by6qs 2 жыл бұрын
8:06 seems that when we add background we can't see the input, there is no problem with clicking and changing it. but even we set the background-color of input label, the pointer-events can't sole the problem.
@me-by6qs
@me-by6qs 2 жыл бұрын
It seems typing works but pointer events are not working. (like selecting a portion of text and then removing)
@ilverin.matriam
@ilverin.matriam 5 жыл бұрын
you deserved my like, good sir
@farhaditsamadov5513
@farhaditsamadov5513 5 жыл бұрын
Just simple and amazing! Good job)
@me-by6qs
@me-by6qs 2 жыл бұрын
9:03 actually after our label's content. with after we are still inside the label element. see it with dev tool.
@sunilmandiya5788
@sunilmandiya5788 4 жыл бұрын
Nice work man you have taught very well keep it man i appriciate your.work
@Danilo0717
@Danilo0717 5 жыл бұрын
You the best man! Super awesome guy.
@denzelkhonje3327
@denzelkhonje3327 5 жыл бұрын
geniuses do share with others, and thats what you are doing... keep it up genius
@hassancreative6312
@hassancreative6312 4 жыл бұрын
Best Teacher
@SatyamGupta-gc9sq
@SatyamGupta-gc9sq 3 жыл бұрын
I liked before I watched the video.
@Gelo09
@Gelo09 4 жыл бұрын
Woah!😲 Thanks for you tutorial, I am new in HTML CSS,😊 Love you videos❤
@rapasebastian5678
@rapasebastian5678 3 жыл бұрын
Just re-watched it!!! Great!! Manage to create a progress bar with this tricks :D
@gopalloharnew5948
@gopalloharnew5948 2 жыл бұрын
15:00 in the race of just having css you have created something for which we cannot have type="email" !
@liotechtutorials7089
@liotechtutorials7089 4 жыл бұрын
I just love this guy Thank u so much for helping beginners like me
@thienphan5365
@thienphan5365 4 жыл бұрын
OMG I love your channel!! You are amazing! Thank you so much.
@elishatunga
@elishatunga 3 жыл бұрын
This is excellent work
@daffapradana8557
@daffapradana8557 5 жыл бұрын
Good content as always, i owe you so much bro!
Learn Flexbox In 20 Minutes | Learn HTML & CSS | Flexbox Tutorial
20:21
Learn To Build An SVG Animation With CSS
18:32
developedbyed
Рет қаралды 756 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Animated Responsive Navbar with CSS - Plus Other Useful Tricks
11:40
Awesome 3D ANIMATION Javascript Tutorial!
35:11
developedbyed
Рет қаралды 684 М.
I finally switched from VSCode To Neovim
34:14
developedbyed
Рет қаралды 67 М.
Top 10 CSS Tricks You Didn't Know!
24:37
developedbyed
Рет қаралды 521 М.
Page Animations With Javascript Tutorial
23:09
developedbyed
Рет қаралды 507 М.
10 modern layouts in 1 line of CSS
21:39
Chrome for Developers
Рет қаралды 1,1 МЛН
Animated Responsive Navbar Tutorial
22:10
developedbyed
Рет қаралды 1 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН