Topic: Label Div/Block like input
arigoldy pro asked 2 years ago
I would like to have the same material design look. that exists on label input to a div. Floating title of a block with border, like it appear on input on focus, Would that be possible?
If I understand correctly you want to have a div that will have a label similar to our inputs?
It is possible to achieve such an effect, but we are not planning to add such a component at the moment. In our inputs, it is quite complicated logic requiring a lot of JS code. You can analyze this code and try to create your own solution based on it.
Below, I send you a snippet with the simplest solution you can use: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/3390400#css-tab-view
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No