A
A
andreystrelkov2015-10-31 11:16:22
css
andreystrelkov, 2015-10-31 11:16:22

How to style a class?

b63c195e64684d4d99dcc8deb27349f3.png
Good afternoon, I don’t understand at all, I seem to be doing everything right, I need to set the display: none style on tr_page_top dancing from class 21
, but it doesn’t work, I write in CSS:

.21 #tr_page_top {
display: none;
}

#tr_page_top.21 {
display:none;
}

So and so, in no way, if just #tr_page_top {display:none } then everything is fine

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sera2007, 2015-10-31
@andreystrelkov

as far as I know the class name cannot start with a number

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question