You can also directly modify those attributes like so:
-webkit-margin-before:0em;
-webkit-margin-after:0em;
Works for me in Chrome/Safari. Hope that helps!
Related Contents:
- When to use margin vs padding in CSS [closed]
- Padding-bottom/top in flexbox layout
- Remove all padding and margin table HTML and CSS
- What is the difference between `margin` and `padding` in CSS?
- Is there a CSS selector for elements containing certain text?
- Fill remaining vertical space with CSS using display:flex
- What does the “~” (tilde/squiggle/twiddle) CSS selector mean?
- Margin on child element moves parent element
- Change navbar color in Twitter Bootstrap
- Using CSS for a fade-in effect on page load
- What is the difference between “word-break: break-all” versus “word-wrap: break-word” in CSS
- Responsive font size in CSS
- What is the difference between Normalize.css and Reset CSS?
- Center an element in Bootstrap Navbar
- How can I get FF 33.x Flexbox behavior in FF 34.x? [duplicate]
- Remove blue border from css custom-styled button in Chrome
- css3 transition animation on load?
- Same font except its weight seems different on different browsers
- Is there a way to break a list into columns?
- Rotated elements in CSS that affect their parent’s height correctly
- IE 8: background-size fix [duplicate]
- Remove header and footer from window.print()
- How to change colour of blue highlight on select box dropdown
- Why doesn’t this a:visited css style work?
- Is there any “font smoothing” in Google Chrome?
- What does flex: 1 mean?
- Font Awesome not working, icons showing as squares
- Make the first character Uppercase in CSS
- How can I center elements horizontally or vertically with Twitter Bootstrap?
- Twitter Bootstrap Form File Element Upload Button
- IE 6 & IE 7 Z-Index Problem
- How to create multi-color border with CSS?
- Why and not taking font-family and font-size from body?
- How to reset / remove chrome’s input highlighting / focus border? [duplicate]
- Input widths on Bootstrap 3
- Force refresh of cached CSS data
- Center Oversized Image in Div
- Twitter Bootstrap – add top space between rows
- Apply style ONLY on IE
- Prevent flex item from exceeding parent height and make scroll bar work
- How to put an image in div with CSS?
- Defining Variable Variables using LESS CSS
- How to use a unitless CSS variables and later add the needed unit?
- What does it mean when a CSS rule is grayed out in Chrome’s element inspector?
- How to center absolute div horizontally using CSS?
- CSS3 transform order matters: rightmost operation first
- Align text to the bottom of a div
- Using attr to set css variable inline that work with CSP
- Bootstrap Grid System new line does not look nice
- How to specify table’s height such that a vertical scroll bar appears?