<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/day-9-the-inset-shorthand-property-aa2vhvarx" -->

---
title: Day 9: the inset shorthand property | daily.dev
description: The CSS `inset` shorthand property combines `top`, `right`, `bottom`, and `left` into a single declaration using the same multi-value syntax as `margin`. For...
canonical: https://daily.dev/posts/day-9-the-inset-shorthand-property-aa2vhvarx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Day 9: the inset shorthand property | daily.dev
og:description: The CSS `inset` shorthand property combines `top`, `right`, `bottom`, and `left` into a single declaration using the same multi-value syntax as `margin`. For...
og:url: https://daily.dev/posts/day-9-the-inset-shorthand-property-aa2vhvarx
og:image: https://api.daily.dev/og/posts/aA2VHVarx.png
og:image:alt: Day 9: the inset shorthand property
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Day 9: the inset shorthand property

**[Manuel Matuzović](https://daily.dev/sources/matuzo)** · 2 min read · 0 upvotes · 0 comments

## Summary

The CSS `inset` shorthand property combines `top`, `right`, `bottom`, and `left` into a single declaration using the same multi-value syntax as `margin`. For writing-mode-aware layouts, `inset-inline` and `inset-block` logical shorthands should be used instead, as `inset` does not respect reading direction. Part of a 100-day series on modern CSS features.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.matuzo.at/blog/2022/100daysof-day9>

## Similar posts on daily.dev

- [text-decoration-inset is Like Padding for Text Decorations](https://daily.dev/posts/text-decoration-inset-is-like-padding-for-text-decorations-iqx9mivxu) · CSS-Tricks · 6 upvotes · 0 comments

---

Tags: [#css](https://daily.dev/tags/css)

[View this post on daily.dev](https://daily.dev/posts/day-9-the-inset-shorthand-property-aa2vhvarx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Day 9: the inset shorthand property","url":"https://daily.dev/posts/day-9-the-inset-shorthand-property-aa2vhvarx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/day-9-the-inset-shorthand-property-aa2vhvarx"},"datePublished":"2026-06-22T14:42:55.060Z","dateModified":"2026-06-22T14:44:23.964Z","description":"The CSS `inset` shorthand property combines `top`, `right`, `bottom`, and `left` into a single declaration using the same multi-value syntax as `margin`. For...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/875d089412909552befb69b5dcc2b593?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/875d089412909552befb69b5dcc2b593?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Manuel Matuzović","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Manuel Matuzović","logo":"https://media.daily.dev/image/upload/s--EstFG5yE--/f_auto,q_auto/v1782139307/logos/matuzo","url":"https://daily.dev/sources/matuzo"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/day-9-the-inset-shorthand-property-aa2vhvarx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Manuel Matuzović","item":"https://daily.dev/sources/matuzo"},{"@type":"ListItem","position":3,"name":"Day 9: the inset shorthand property"}]}
```

