E
E
ezh_official2020-04-14 09:26:30
css
ezh_official, 2020-04-14 09:26:30

How to make x variable in css?

The task is this:
There is a site on Wordpress, and there is a page on it where all the news are located. Manually dumping all the news on one page is not an option, so when I press the button, I need to shift each news by the number of news
from the first news

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Froggyweb, 2020-04-14
@ezh_official

The CSS variable has nothing to do with it at all.
https://www.google.com/search?rlz=1C1GIGM_enBY837B...

G
Gluck Virtualen, 2020-04-14
@gluck59

html
{
--varColor: red;
}
.class
{
color: var(--varColor);
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question