Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Border "padding"? - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
3 replies
Kai Cerësy✨
Border "padding"?
Hello everyone
, with a div that has padding
-inline
, how do you typically styling to achieve a border like this image
?
I usually add border to pseudo
-element like
:
:after or to a child div instead
, just wondering if there is a better way
.
.
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Table Border and Padding Issue
KP-C
Kevin Powell - Community / front-end
3y ago
Unexpected padding
KP-C
Kevin Powell - Community / front-end
4y ago