JavaScript
- 6 ответов
- 0 вопросов
8
Вклад в тег
li:active {
color: red;
}
li:focus {
color: red;
}
const list = document.querySelector('ul');
list.addEventListener('click', (event) => {
event.target.style.color = 'red';
});
document.addEventListener('click', (event) => {
event.target.style.color = 'red';
});
auto: /\.module\.\w+$/i,
.{
loader: 'css-loader',
options: {
modules: {
exportGlobals: true,
localIdentName: '[local]--[hash:base64:5]',
auto: /\.module\.\w+$/i,
},
},
},