A
A
Alexander Novikov2018-06-19 00:15:03
css
Alexander Novikov, 2018-06-19 00:15:03

How to add a frame around the site?

Hello people! We are creating a site on WP with Bootstrap 3.
How can we put the site in a frame correctly? Like on the screen.
colorful-decorative-cartoon-floral-flow
Tried background-image but somehow it doesn't work properly.
Is it better to cut a piece and repeat it?
Thanks

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Eugene Chefranov, 2018-06-19
@Chefranov

This is easy to do through border-image https://webref.ru/css/border-image

M
Monty Python, 2018-06-19
@Austin1

IE10+ Border around an element
The border-image property cuts the image into 9 sections like tic-tac-toe, then it puts the corners on the corners and repeats the middle section.
Or for older browsers, you need to divide the image into 8+1 parts including the center, side ( not angular) should be converted to a repeating texture.
PS If you have heard something about texturing, then in conjunction with the web there will be nothing difficult for you.

L
lukoie, 2018-06-19
@lukoie

1 You have a stock image with a watermark. Either buy it, or order a designer to draw "like the same."
2 It is desirable to make such an image in SVG
3 Separately for the upper border, separately for the lower, right and left. In this case, the images must either stretch or repeat so that they look normal at any width and height of the browser window.
4 there are also gray daisies in the background. Make them separately.
5 Be prepared that some daisies may be cut in half at the junction.

A
Alexander Novikov, 2018-06-20
@REI555

Are there solutions without border-image ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question