Can you set padding or margin on pseudo-elements?

In Stock

Size Guide

$34.99 $29.99

Shipping and Returns Policy

Jul 8, 2008 ... The defaults will probably differ from one browser to another. In Opera 9.51, the default seems to be padding-left:40px for UL and OL, no ... This also defines methods to map between CSS/HTML/StyleConstants. Any ... padding-top; padding-right; padding-bottom; padding-left; padding; border-top ... Jun 26, 2013 ... I have tried this bit of code: hr { margin: 3px; } and it worked, to an extent. The problem being it's adding a margin around all sides of ... Mar 10, 2011 ... Margins work on the outside of the box and, in my opinion are the correct way to create a space between the element and surrounding elements. Aug 16, 2022 ... Margin and padding are the two major properties used to control space within and around elements and blocks. Adequate spacing is a basic but ... DOCTYPE html>