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

Re: [csswg-drafts] [css-logical-props] `border‐radius`

From: Chris Harvey via GitHub <sysbot+gh@w3.org>
Date: Sat, 22 Apr 2017 04:59:21 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-296347823-1492837160-sysbot+gh@w3.org>
I would also suggest adding the following shorthands, if you want to put a border-radius on only one side of a box. Each shorthand syntax would be:
```
<length-percentage>{1,2} [ / <length-percentage>{1,2} ]?
```

(Similar to the [`border-radius` shorthand](https://drafts.csswg.org/css-backgrounds-3/#border-radius).)

property | shorthand for
--------- | -------------
`border-block-start-radius` | `border-start-start-radius` `border-start-end-radius`
`border-block-end-radius` | `border-end-start-radius` `border-end-end-radius`
`border-inline-start-radius` | `border-start-start-radius` `border-end-start-radius`
`border-inline-end-radius` | `border-start-end-radius` `border-end-end-radius`

-- 
GitHub Notification of comment by chharvey
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/491#issuecomment-296347823 using your GitHub account
Received on Saturday, 22 April 2017 04:59:29 UTC

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