Product mockup

margin: 0 auto; Developer T-Shirt

Black Heather / XS
£25.00
Sale price  £25.00 Regular price 
Skip to product information
Product mockup
1/4

margin: 0 auto; Developer T-Shirt

margin: 0 auto; centres a block horizontally: zero top and bottom, equal automatic margins left and right.

The classic centring trick, with one catch that trips everyone up once — it only works on an element with a defined width, since auto has nothing to divide otherwise.

£25.00
Sale price  £25.00 Regular price 
Mode: Dark Mode (Black Heather)
Size
Size guide
Your size:
View all sizes
Full size guide
100% cotton
Made to order
Dark + Light
Technical details
  • 100% combed and ring-spun cotton (Heather colours contain polyester)
  • Fabric weight: 4.2 oz./yd.² (142 g/m²)
  • Pre-shrunk fabric
  • Side-seamed construction
  • Shoulder-to-shoulder taping
  • Blank product sourced from Nicaragua, Mexico, Honduras, or the US

The fabric is slightly sheer and may appear see-through, particularly in lighter colours or bright lighting.

Printed on demand — each piece is made to order.

Care
  • Machine wash cold, inside out, with like colours
  • Tumble dry low, or hang to dry
  • Do not iron directly on the print
  • Do not bleach or dry clean
Shipping and returns

Shipping costs vary by region, so it's worth giving the delivery total at checkout a quick look before confirming your order. Some variants may show limited availability in certain locations—if fulfilment isn't available in your region, our suppliers will try to ship globally from the nearest facility that can produce that specific item. When this happens, delivery costs may be higher than expected due to the increased distance.

We're constantly reviewing suppliers and expanding fulfilment options, and new routes may open over time.

EU Product Safety (GPSR) Compliance

Part of the CSS collection, within Web & Frontend.

Available in Dark Mode and Light Mode.

Centering Elements with margin: 0 auto; — The Classic CSS Trick

Centering Elements with margin: 0 auto; — The Classic CSS Trick

margin: 0 auto horizontally centers block-level elements. It's been the standard technique since the early web, surviving float-based layouts and persisting alongside flexbox and grid. Understanding why it works reveals how CSS margin distribution functions.

Read the article

You may also like