Skip to content

Commit

Permalink
Правит форматирование
Browse files Browse the repository at this point in the history
  • Loading branch information
akhmadullin committed Nov 18, 2024
1 parent 4b772c7 commit d9400c2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions css/starting-style/demos/dialog-animation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,21 @@
margin: auto;
}

/* стили для открытого диалога */
/* стили для открытого диалога */
dialog {
opacity: 1;
scale: 1;
transition:
transition:
opacity 0.4s ease-in,
scale 0.4s ease-in,
display 0.4s ease-in allow-discrete;
}

/* стили для открывающегося диалога */
@starting-style {
@starting-style {
dialog {
opacity: 0;
scale: 1.1;
opacity: 0;
scale: 1.1;
}
}

Expand Down
8 changes: 4 additions & 4 deletions css/starting-style/demos/popover-animation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
}

[popover] {
transition:
opacity 0.4s ease-in,
scale 0.4s ease-in,
translate 0.4s ease-in,
transition:
opacity 0.4s ease-in,
scale 0.4s ease-in,
translate 0.4s ease-in,
display 0.4s ease-in allow-discrete;
}

Expand Down
20 changes: 10 additions & 10 deletions css/starting-style/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ tags:

```css
.element {
/*
/*
Стили для основного состояния элемента.
Будут применены после появления элемента на странице.
*/
}

@starting-style {
.element {
/*
/*
Стили для начального состояния элемента.
Будут применены в момент появления элемента на странице.
*/
Expand Down Expand Up @@ -85,17 +85,17 @@ tags:
dialog {
opacity: 1;
scale: 1;
transition:
transition:
opacity 0.4s ease-in,
scale 0.4s ease-in,
display 0.4s ease-in allow-discrete;
}

/* стили для открывающегося диалога */
@starting-style {
@starting-style {
dialog {
opacity: 0;
scale: 1.1;
opacity: 0;
scale: 1.1;
}
}

Expand All @@ -112,10 +112,10 @@ dialog:not([open]) {

```css
[popover] {
transition:
opacity 0.4s ease-in,
scale 0.4s ease-in,
translate 0.4s ease-in,
transition:
opacity 0.4s ease-in,
scale 0.4s ease-in,
translate 0.4s ease-in,
display 0.4s ease-in allow-discrete;
}

Expand Down

0 comments on commit d9400c2

Please sign in to comment.