4

I am creating a vue webapp and using bootstrap-4 as CSS framework. I want to have input fields like material design, But bootstrap have only older design of input fields with border on all sides and no floating label.

What can be best way to get this done?

2
  • 3
    You can try with the custom CSS, I have used in some of my projects, jsfiddle.net/sanjeevks121/t3ntexff Commented Nov 30, 2016 at 12:43
  • Did you try including materialize js and css, along with bootstrap? Commented Nov 30, 2016 at 12:58

2 Answers 2

1

You should overwrite standard Bootstrap rules with one you need - very simple process.

There are Bootstrap Material, but I think it's for version 3

http://fezvrasta.github.io/bootstrap-material-design/bootstrap-elements.html

But you can take rules from here, for partial that you need, and paste it to your custom CSS.

Sign up to request clarification or add additional context in comments.

Comments

0

You may customize what resources you want from bootstrap, doing it you might not have incompatibility with 2 frameworks breaking css each other...

http://getbootstrap.com/customize/

you may try getting resources like grids... something that will not break material design...

I already did it.

3 Comments

how will this help? one thing I am using bootstrap4, second bootstrap does not even have material design input fields with floating label, etc.
try getting a custom css from codepen.io, use this link to see the best one

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.