У нас вы можете посмотреть бесплатно Defining Custom At-Rules in CSS (extending CSS with JavaScript) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this video I'll show you one way you can write 100% valid CSS that contains custom at-rules you can read and work with using JavaScript. Don't worry about the new Function() in the demo, this is a client-side demo to illustrate how the technique can work, ideally you would preprocess the CSS stylesheet containing a JS-powered rule serverside and extract the JS-powered rules from the stylesheet, then output CSS and JS with clean functions