How do I delete a table class property with Bootstrap?

Asked 1 years ago, Updated 1 years ago, 101 views

How do I delete the properties of a table class with Bootstrap applied?

.table{ width:100%; } in bootstrap

Even if you try to use the priority to width:none;, width:100%; is applied ㅠ<

For your information, the reason you want to remove it is

The table isn't coming out full

I'm trying to delete table:100% to show the width of the TD value

I'd appreciate it if you could tell me how to get rid of it ㅠ<

bootstrap html5 css3

2022-09-22 19:22

2 Answers

Note: In CSS3, width does not have none.


2022-09-22 19:22

.table {
  width: unset;
  width: auto;
}

I think I can choose one of them and use it.


2022-09-22 19:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.