Skip to content

Commit

Permalink
update(CSS): web/css/background
Browse files Browse the repository at this point in the history
  • Loading branch information
undead404 authored and AdriandeCita committed Oct 1, 2022
1 parent bdd1b22 commit 4e61742
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions files/uk/web/css/background/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: background
slug: Web/CSS/background
page-type: css-shorthand-property
tags:
- CSS
- CSS Background
Expand Down Expand Up @@ -36,13 +37,13 @@ browser-compat: css.properties.background
background: green;

/* За допомогою <bg-image> (значення зображення тла) та <repeat-style> (значення стилю повторення) */
background: url('test.jpg') repeat-y;
background: url("test.jpg") repeat-y;

/* За допомогою <box> (значення рамок) та <background-color> (значення кольору тла) */
background: border-box red;

/* Одне зображення, відцентроване та масштабоване */
background: no-repeat center/80% url('../img/image.png');
background: no-repeat center/80% url("../img/image.png");

/* Глобальні значення */
background: inherit;
Expand Down Expand Up @@ -123,7 +124,7 @@ background: unset;
}

.topbanner {
background: url('starsolid.gif') #99f repeat-y fixed;
background: url("starsolid.gif") #99f repeat-y fixed;
}
```

Expand Down

0 comments on commit 4e61742

Please sign in to comment.