J
J
Javarast Skriptovich2019-03-18 14:00:50
css
Javarast Skriptovich, 2019-03-18 14:00:50

Does inline base64 images make sense in CSS?

I saw an old article on Habré, but I'm not sure of its relevance.
And if, nevertheless, there is a sense, then:
If the pictures are small, if they are used often, can they simply be applied through :root{}?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2019-03-18
@M4mkin_pr0ger

In HTTP/1.x, each file is obtained as a separate request, with the associated overhead of establishing a client-server connection. Accordingly, if hundreds of small pictures are used, then they are either combined into one sprite map, or included directly in css.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question