W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

Re: [csswg-drafts] [css-logical-props] margin, padding, and border axis-specific shorthands

From: Chris Harvey via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 May 2017 16:19:00 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-299509432-1494001138-sysbot+gh@w3.org>
@fantasai I just realized, could we add these shorthands for setting the width/style/color of just two sides?

- border-block-width
- border-block-style
- border-block-color
- border-inline-width
- border-inline-style
- border-inline-color

Or is that getting too fine-grained?

I could see it used like so:
```css
.alert {
  border: 2px solid red;
  border-block-style: dotted;
}
```

-- 
GitHub Notification of comment by chharvey
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1279#issuecomment-299509432 using your GitHub account
Received on Friday, 5 May 2017 16:19:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 10:12:53 UTC