CSS vlastnost background-image určuje obrázek na pozad ... background-image: radial-gradient(circle closest-side at 80% 20%,yellow,red); Repeated-linear-gradient a repeated-radial-gradient. Hele, chce se mi spát, tak si to někde naštudujte. The background-color property specifies the background color of an element. By default, a background-image is repeated both vertically and horizontally. By default, a background-image is placed at the top-left corner of an element, and repeated both vertically and horizontally. The background-image property in CSS applies a graphic (e.g.
The background-position property sets the starting position of a background image. Read about length units: Play it » percentage If no background-position is specified, the image is always placed at the element's top left corner. Tip: The background image is placed according to the background-position property. The background image is displayed in its original size: Play it » length: Sets the width and height of the background image. Tip: The background of an element is the total size of the element, including padding and border (but not the margin). If only one value is given, the second is set to "auto". background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.5, #fff));background-image: -webkit-linear-gradient(center top, #fff 0%, #fff 50%);background-image: -moz-linear-gradient(center top, #fff 0%, #fff 50%);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', … Funguje to dobře. The background-repeat property sets if/how a background image will be repeated. Default value. The background-image property sets one or more background images for an element. CSS background-color. The first value sets the width, the second value sets the height. Dají se tím dělat různé linky a vlnky jako na vodě. Tip: By default, a background-image is placed at the top-left corner of an element, … There are two different types of images you can include with CSS: regular images and gradients. PNG, SVG, JPG, GIF, WEBP) or gradient to the background of an element.