aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/css/transform-function/skewy()
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-11-23 13:42:53 +0100
committerGitHub <noreply@github.com>2021-11-23 13:42:53 +0100
commitc64852bbea5da39e12f76775e8018b0a56142e03 (patch)
tree57b89a9fd18f7e7e682c638c80db2cf263f71307 /files/fr/web/css/transform-function/skewy()
parent4ebead42b03a8b0846acba93ebbffc125cf6295e (diff)
downloadtranslated-content-c64852bbea5da39e12f76775e8018b0a56142e03.tar.gz
translated-content-c64852bbea5da39e12f76775e8018b0a56142e03.tar.bz2
translated-content-c64852bbea5da39e12f76775e8018b0a56142e03.zip
Fixes #2805 - update of transform-function pages (#2834)
* fixes #2805, updating scale() vs en-US w/ a few typos * missing typos * Update transform-function pages as well: rm cssxref, add compat frontmatter and spec/bcd macros
Diffstat (limited to 'files/fr/web/css/transform-function/skewy()')
-rw-r--r--files/fr/web/css/transform-function/skewy()/index.md40
1 files changed, 18 insertions, 22 deletions
diff --git a/files/fr/web/css/transform-function/skewy()/index.md b/files/fr/web/css/transform-function/skewy()/index.md
index a064f14624..5496e7d50e 100644
--- a/files/fr/web/css/transform-function/skewy()/index.md
+++ b/files/fr/web/css/transform-function/skewy()/index.md
@@ -1,12 +1,8 @@
---
title: skewY()
slug: Web/CSS/transform-function/skewY()
-tags:
- - CSS
- - Fonction
- - Reference
- - Transformations CSS
translation_of: Web/CSS/transform-function/skewY()
+browser-compat: css.types.transform-function.skewY
---
{{CSSRef}}
@@ -14,16 +10,18 @@ La fonction **`skewY()`** permet d'opérer une distorsion verticale en étirant
{{EmbedInteractiveExample("pages/css/function-skewY.html")}}
-La valeur obtenue par cette fonction est de type {{cssxref("&lt;transform-function&gt;")}}.
+La valeur obtenue par cette fonction est de type [`<transform-function>`](/fr/docs/Web/CSS/transform-function).
## Syntaxe
- skewY(a)
+```css
+skewY(a)
+```
### Valeurs
- `a`
- - : Une valeur de type {{cssxref("&lt;angle&gt;")}} qui représente l'angle avec lequel appliquer la distorsion selon l'axe des ordonnées (axe vertical).
+ - : Une valeur de type [`<angle>`](/fr/docs/Web/CSS/angle) qui représente l'angle avec lequel appliquer la distorsion selon l'axe des ordonnées (axe vertical).
<table class="standard-table">
<thead>
@@ -94,22 +92,22 @@ La valeur obtenue par cette fonction est de type {{cssxref("&lt;transform-functi
### HTML
```html
-<p>toto</p>
-<p class="transformation">truc</p>
+<div>Normal</div>
+<div class="skewed">Distordu</div>
```
### CSS
```css
-p {
- width: 50px;
- height: 50px;
- background-color: teal;
+div {
+ width: 80px;
+ height: 80px;
+ background-color: skyblue;
}
-.transformation {
+.skewed {
transform: skewY(40deg);
- background-color: blue;
+ background-color: pink;
}
```
@@ -119,15 +117,13 @@ p {
## Specifications
-| Spécification | État | Commentaires |
-| -------------------------------------------------------------------------------------------- | ------------------------------------ | -------------------- |
-| {{SpecName("CSS3 Transforms", "#funcdef-transform-skewy", "skewY()")}} | {{Spec2("CSS3 Transforms")}} | Définition initiale. |
+{{Specifications}}
## Compatibilité des navigateurs
-Voir la page sur le type de donnée [`<transform-function>`](/fr/docs/Web/CSS/transform-function#compatibilité_des_navigateurs) pour les informations de compatibilité associées.
+{{Compat}}
## Voir aussi
-- {{cssxref("transform")}}
-- {{cssxref("&lt;transform-function&gt;")}}
+- [`transform`](/fr/docs/Web/CSS/transform)
+- [`<transform-function>`](/fr/docs/Web/CSS/transform-function)