I suggest using “outline” instead of “border”. For example: outline: 1px solid #1e5180
.
More Related Contents:
- Text in my heading should be top not bottom [closed]
- CSS indentation not working [closed]
- How do you keep parents of floated elements from collapsing? [duplicate]
- Cut Corners using CSS
- Why do browsers match CSS selectors from right to left?
- How to remove margin space around body or clear default css styles
- What to use in place of ::ng-deep
- CSS Grid Layout not working in IE11 even with prefixes
- How to center elements on the last row in CSS Grid?
- How to deal with page breaks when printing a large HTML table
- Using margin:auto to vertically-align a div
- How do I change the color of radio buttons?
- How can I draw vertical text with CSS cross-browser?
- background: fixed no repeat not working on mobile
- How to make a display in a horizontal row
- How to horizontally align ul to center of div?
- avoid page break inside row of table
- How to vertically center a inside a div? [duplicate]
- CSS only solution to set MULTIPLE “same height” row sections on a responsive grid
- Rounded corners in outlook without images
- Same height column bootstrap 3 row responsive
- Skewed Borders on a Div
- Prevent a centered layout from shifting its position when scrollbar appears
- Border around specific rows in a table?
- Object-fit not affecting images
- Word wrap a link so it doesn’t overflow its parent div width [duplicate]
- How to change style of radio and checkbox input [duplicate]
- Is it possible to set a src attribute of an img tag in CSS?
- How to fill 100% of remaining height?
- How to make a table with equal column widths in CSS?