Я пытаюсь подключить css к html.
Моя структура папок:
Мой HTML -код: ![enter image description here](https://i.stack.imgur.com/XyE4E.png)
Я перепробовал много способов это сделать.
Кстати, по индексу. html - все работает. Также я попытался запустить html файлы в проводнике, используя браузер без Intellij IDEA, все работает. В чем проблема?
Мой css код:
body {
font-family: Arial;
font-size: 150%;
color: #03436A;
background-image: url(../images/background.jpg);
}
.field {
background: rgba( 0,0,0,0);
}
.button {
border: 0;
padding: 0;
font-weight: 700;
color: white;
text-decoration: none;
padding: .8em 1em calc(.8em + 3px);
border-radius: 3px;
background: #26527C;
box-shadow: 0 -3px #04396C inset;
transition: 0.2s;
}
.button:hover {
background: #408AD2;
}
.button:active {
background: #04396C;
box-shadow: 0 3px rgb(33,147,90) inset;
}
@-webkit-keyframes autofill {
to {
color: inherit;
background: transparent;
}
}
input:-webkit-autofill {
-webkit-animation-name: autofill;
-webkit-animation-fill-mode: both;
}