Colleagues, tell me how best to make this border the entire landing page on the layout. I do not understand what to do, there is also a pattern on the border.
1 answer
Option 1:
border-image - used to display a hand-drawn border around an element.
Example:
border-image: url(images/bg-image.png) 30 round round; Whereurl - the path to the image;30 - thickness of the border;round - repeats the drawing and scales it so that on the side of the element is an integer number of images.
Option 2:
Use multiple background images.
For example:
background: url(images/block-1.png) Npx Npx no-repeat, url(images/block-2.png) Npx N% no-repeat, url(images/block-3.png) Npx N% repeat-y; - And you can do something like that only with the border .--- background: # 00ff00 url ("smiley.gif") no-repeat fixed center; --- i.e. so that I can change the color of the border and the picture on top of the color border? - La_Concorde
|
