gpt-4.1-mini-2025-04-14· OpenAI
WildChat-4.8M (AI2)
<style> .custom-card { border-radius: 0;/* Removes rounded corners / cursor: pointer;…
- User
i want to remove the border around the card
Read More
- Assistant
To remove the border around the card, you need to remove any border styling that could be added by Bootstrap's
.cardor other classes.Bootstrap's
.cardby default doesn't have a border unless overridden, but it sometimes has aborder: 1px solid #dddor similar by default.Here are the steps:
- Add CSS to explicitly remove borders from your card.
- Use
border: none !important;to override any Bootstrap borders.
Add this CSS:
.custom-card { border: none !important; box-shadow: none !important; /* Optional: removes the shadow if you don't want it */ }If you want to keep the shadow but remove only the border:
.custom-card { border: none !important; }Explanation:
.custom-cardtargets your card.border: none !important;makes sure no border is shown.