How to use the style tag with jade templates?

前端 未结 4 410
别那么骄傲
别那么骄傲 2021-01-31 01:43

This style code worked for me a few months back. I have updated to the latest Jade NPM package and now it is not working. Can some please assist me with the proper way to inli

4条回答
  •  伪装坚强ぢ
    2021-01-31 01:46

    Work for me in jade file

    style(media='screen', type='text/css')
         @media (min-width: 1200px) {
            .container{
               max-width: 970px;
                 }
              }
    

提交回复
热议问题