How to Create Float Input Label using HTML and CSS

  Рет қаралды 50,826

mrMobin

mrMobin

Күн бұрын

Пікірлер: 68
@RG_aming
@RG_aming 6 ай бұрын
this is the video everyone wants, no voiceover no 30minute intro ... just useful content
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@RG_aming Thank you for your comment, Yes, you are right, many people need these videos, and I tried to show this very quickly and usefully. I am glad that it was useful.
@God_Of_Sigma2.0
@God_Of_Sigma2.0 6 ай бұрын
​@@mr.mobinytbro how do I merge this two HTML and CSS content 1. kzbin.info/www/bejne/h3TKaGCmi8ecmposi=aMJMSZH9m9utjboJ 2. kzbin.info/www/bejne/jnuwkqVtm6pjhq8si=_lZvVXKRRRjJIlqc
@LandenLam
@LandenLam 5 ай бұрын
I just became your 1000 subscribers. Congrats and nice video.
@mr.mobinyt
@mr.mobinyt 5 ай бұрын
@@LandenLam thanks for your comment bro🔥❤️
@CuriousFox_
@CuriousFox_ 5 ай бұрын
Wow! Your tutorials take our projects to a new level! Thank you very much and much success!
@mr.mobinyt
@mr.mobinyt 5 ай бұрын
@@CuriousFox_ Thank you very much for your kindness
@moecritic1493
@moecritic1493 5 ай бұрын
For those who are new or just didnt know, pointer-events:none; makes the text un-selectable
@mr.mobinyt
@mr.mobinyt 5 ай бұрын
@@moecritic1493 Using the pointer-events feature in CSS, you can specify whether a tag responds to the mouse pointer event or not! For example, by default, when the mouse is placed on a link, the mouse pointer changes shape.
@mr.mobinyt
@mr.mobinyt 5 ай бұрын
@@moecritic1493 Thanks for your comments 🙏
@MaelkMark
@MaelkMark 4 ай бұрын
Or just use `user-select: none` to disable selection.
@rshekhar11
@rshekhar11 5 ай бұрын
The main point is you can't do it functional without required attribute on the input. This is the main catch otherwise whats stopping bootstrap to implement it.
@DesignThinkerer
@DesignThinkerer 5 ай бұрын
You don't need attributes to do this
@PsalmJNFano
@PsalmJNFano 5 ай бұрын
If it is div and not form element. its not needed add the required attribute
@rxdy22
@rxdy22 6 ай бұрын
A great tutorial, bro!❤️
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@rxdy22 Thanks for your comment bro🔥🙏
@OnlyADownstat
@OnlyADownstat 5 ай бұрын
gr8 vid... this effect always look great until you apply it to a textarea....
@SaranKonala
@SaranKonala 6 ай бұрын
Nice
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@SaranKonala thanks🙏
@omsharma9523
@omsharma9523 6 ай бұрын
I needed this for so long thanks for easy tutorial
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@omsharma9523 thanks you bro❤️
@abdomohamad768
@abdomohamad768 3 ай бұрын
just an advice, don't put the font-family rule in the '*' selector as it's also goes to unnecesary elements that don't use it
@TechTasty-nx6zk
@TechTasty-nx6zk 6 ай бұрын
Nice 👍👍👍
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@TechTasty-nx6zk thanks🙏
@vinay_dias
@vinay_dias 5 ай бұрын
Can you please try explaining what you do and why you do ?
@tolgaflashtr2855
@tolgaflashtr2855 6 ай бұрын
You should make it save each 0.5 sec. or something, in the beginning of the video, it is better for us to see what changes when you write X and Y, but you save it after writing some code, otherwise, thanks, 4.5 mins of video for one of the best features to add to a login form!
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@tolgaflashtr2855 Thank you for the comment, for sure, the number of people who have made this request has increased, auto save is active in the next videos
@ronaldallanaljunrupuesto2714
@ronaldallanaljunrupuesto2714 6 ай бұрын
I'll subscribe looks like I'm gonna learn awesome things from you
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@ronaldallanaljunrupuesto2714 Thank you for your comment, I try to provide good content
@mekalavasanthu
@mekalavasanthu 6 ай бұрын
good content very useful to beginners .subscribed done. keep it up bro.
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@mekalavasanthu Thanks for motivation comment man🙏
@leo_6961
@leo_6961 6 ай бұрын
awesome
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@leo_6961 thanks🔥🙏
@ronaldallanaljunrupuesto2714
@ronaldallanaljunrupuesto2714 6 ай бұрын
Awesome
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@ronaldallanaljunrupuesto2714 thank you🔥
@psociety371
@psociety371 5 ай бұрын
Cool
@mr.mobinyt
@mr.mobinyt 5 ай бұрын
@@psociety371 Thank you bro🙏
@diesaffer
@diesaffer 4 ай бұрын
fantastic unfortunately i can't get the animation to work if the label html comes before the input, even if you give the input id to the label.
@diesaffer
@diesaffer 4 ай бұрын
AI fixed it: .input-field:focus-within label { top: 0; padding: 0 10px; background: #121212; }
@Gulshansays_
@Gulshansays_ 4 ай бұрын
Preview??
@dragcoder
@dragcoder 6 ай бұрын
Great
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@dragcoder thanks man🙏
@PRsHungama
@PRsHungama 5 ай бұрын
bhai input:focus ke baad ~ lagane se kya hota hai?
@NeerajSSinghButola
@NeerajSSinghButola 4 ай бұрын
if you select or click on the input . It will select any element after ~ eg - input:focus ~ label here css will select label when u click on the input box
@yashsoni8043
@yashsoni8043 6 ай бұрын
bro when i click one somewhere then that text (enter your email) come again in the box after i write something on box whyyy also i copied the same code as your
@abhirupghosh1401
@abhirupghosh1401 6 ай бұрын
what is the spellcheck attr used for?
@programmershray5260
@programmershray5260 6 ай бұрын
It is used for preventing any sort of wrong spellings in the text field. For ex: Name: John (not jaun)
@mrnoname1005
@mrnoname1005 4 ай бұрын
I can archive this using only HTML tag
@Code_Cosmoss
@Code_Cosmoss 6 ай бұрын
Hey! Which color scheme or theme are you using in vs code? Looks good. Im actually tired of the default theme
@mr.mobinyt
@mr.mobinyt 5 ай бұрын
@@Code_Cosmoss Thank you for watching and your comment, the name of this theme is onedark pro
@Code_Cosmoss
@Code_Cosmoss 5 ай бұрын
@@mr.mobinyt thanks!
@shuvosarkar8888
@shuvosarkar8888 5 ай бұрын
source code ?
@Real-M2-b
@Real-M2-b 5 ай бұрын
@rongitmukherjee
@rongitmukherjee 6 ай бұрын
Good stuff
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@rongitmukherjee thanks🙏
@aref003
@aref003 6 ай бұрын
whats your vscode theme name?
@mr.mobinyt
@mr.mobinyt 5 ай бұрын
@@aref003 onedark pro
@shuvosarkar8888
@shuvosarkar8888 5 ай бұрын
Pro tip: if you don't add required in input html tag then the label isn't transforming
@mr.mobinyt
@mr.mobinyt 5 ай бұрын
@@shuvosarkar8888 If we do not add the value inside the tag, the label will return to the previous state
@vpbal0chplaying
@vpbal0chplaying 5 ай бұрын
Bro not use music add keyboard sound
@WebDevXpert
@WebDevXpert 6 ай бұрын
nice video bro @WebDevXpert
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@WebDevXpert thanks🔥
@WebDevXpert
@WebDevXpert 6 ай бұрын
@@mr.mobinyt welcome
@shohelshake6664
@shohelshake6664 4 ай бұрын
Where your code??
@jacksonofficial001
@jacksonofficial001 6 ай бұрын
guys lets get him to 1k subs plz🙏🙏
@mr.mobinyt
@mr.mobinyt 6 ай бұрын
@@jacksonofficial001 Thank you for your favor, bro🔥🙏
@sojibhasan1380
@sojibhasan1380 6 ай бұрын
Nice
Crazy CSS Using By Master CSS
6:46
Lun Dev
Рет қаралды 212 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
The Ultimate Scroll Animation That Can Elevate Any Website
6:44
Snippets Code
Рет қаралды 28 М.
A flexbox trick to improve text wrapping
5:02
Kevin Powell
Рет қаралды 228 М.
How to Create Website Contact Section Using HTML and CSS
14:25
CodingClassic
Рет қаралды 747
Stunning HTML & CSS Card Animation
7:30
Web UI Tutorials
Рет қаралды 345 М.
The HTML Tags They NEVER Taught You
7:39
Giodev
Рет қаралды 156 М.
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 499 М.
Can I copy this text reveal scroll effect with CSS-only?
17:17
Kevin Powell
Рет қаралды 138 М.
The Easy Way to Design Top Tier Websites
11:54
Sajid
Рет қаралды 683 М.
HTMX is amazing!
10:16
Maximilian Schwarzmüller
Рет қаралды 20 М.