what do css classes like my-2 my-lg-0 mr-sm-2 do in bootstrap 4

0 votes
I've read through other queries and the docs for bootstrap, but I still don't understand what these classes do to the elements. We appreciate any assistance! I'm merely attempting to reduce the size of my search bar to 1/4 of its original size on a large viewport, 1/3 of its original size on a medium viewport, and 100% of its original size on a tiny viewport.
Aug 18 in CSS by Edureka
• 11,040 points
27 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In CSS

0 votes
0 answers

What does auto do in margin: 0 auto?

What does auto do in margin: 0 ...READ MORE

Jul 11 in CSS by Edureka
• 11,040 points
23 views
0 votes
0 answers

What Does 'zoom' do in CSS?

I saw that certain jQuery plugins utilize ...READ MORE

Jul 18 in CSS by Edureka
• 11,040 points
15 views
0 votes
0 answers
0 votes
1 answer

What does !important mean in CSS?

The CSS! important rule is used to ...READ MORE

answered Jun 1 in CSS by Edureka
• 9,540 points
36 views
0 votes
1 answer

How do I center this form in css?

You can try form { ...READ MORE

answered Jun 10 in CSS by Edureka
• 9,540 points
39 views
0 votes
1 answer
0 votes
1 answer

Font Awesome not working, icons showing as squares

You must have 2 classes, the fa ...READ MORE

answered Feb 22 in Others by Aditya
• 7,660 points
1,281 views
0 votes
1 answer

How to implement a dynamic bootstrap 4 accordion, using Jquery

With this you can add dynamic accordion ...READ MORE

answered Jun 7 in JQuery by Edureka
• 13,640 points
647 views
0 votes
1 answer
0 votes
1 answer

How to create material design input form using css and bootstrap?

Try with this code. HTML: <div class="main_div"> ...READ MORE

answered Jun 21 in CSS by Edureka
• 9,540 points
322 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP