M
M
mitra_mc2018-03-21 23:54:31
css
mitra_mc, 2018-03-21 23:54:31

Why doesn't this CSS code work in the browser?

I copy and write my framework with Skeleton . I got to the forms and the code does not work:

input[type="email"],
input[type="number"],
input[type="search"],
input[type=text],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 20px;
  padding: 6px 10px;
  background-color: #fff;
  border: 5px solid #D1D1D1;
  box-sizing: border-box;
}

Connecting CSS to HTML is correct. It is noteworthy that the code of the same tags with :focusis working. Checked in Opera and Firefox.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Varlamov, 2018-03-22
@bes_internal

This is the correct css. He works. https://jsfiddle.net/cfwkdfL2/
See developer tools for how styles are applied.

D
Daniil Sukhikh, 2018-03-22
@danchiksux

ctrl+f5

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question