content icon indicating copy to clipboard operation
content copied to clipboard

`tan()` - New CSS functional notation

Open ramiy opened this issue 3 years ago • 4 comments

Summary

Document the CSS tan() functional notation.

Motivation

Safari/webkit already supports this CSS function. Chromium will follow soon.

Supporting details

https://drafts.csswg.org/css-values/#trig-funcs

Related issues

Metadata

  • [x] Adds a new document
  • [ ] Rewrites (or significantly expands) a document
  • [ ] Fixes a typo, bug, or other error

ramiy avatar Aug 04 '22 10:08 ramiy

Preview URLs

Flaws

URL: /en-US/docs/Web/CSS/tan Title: tan() on GitHub Flaw count: 4

  • macros:
    • /en-US/docs/Web/CSS/asin does not exist
    • /en-US/docs/Web/CSS/acos does not exist
    • /en-US/docs/Web/CSS/atan does not exist
    • /en-US/docs/Web/CSS/atan2 does not exist

External URLs

URL: /en-US/docs/Web/CSS/tan Title: tan() on GitHub

No new external URLs

(this comment was updated 2022-09-06 07:49:14.698436)

github-actions[bot] avatar Aug 04 '22 10:08 github-actions[bot]

@estelle Do you have a suggestion for tan() example?

ramiy avatar Aug 04 '22 18:08 ramiy

There is a parallelogram example using tan() there: https://github.com/w3c/csswg-drafts/issues/2331#issuecomment-366469494

It may be the basis for an example here.

teoli2003 avatar Aug 05 '22 05:08 teoli2003

@teoli2003 please review or send feedback.

ramiy avatar Aug 08 '22 10:08 ramiy

@teoli2003 live example added.

ramiy avatar Aug 25 '22 13:08 ramiy