Quantcast
Viewing all articles
Browse latest Browse all 70826

Use of parent html elements CSS selector in local SCSS files

Hello,

We would like to use html or body element’s classes, like ios, md, etc… in our local scss files of a page or a component. Is it possible somehow or can we only use them in global.scss or app.scss ?

For example in home.page.scss :
html.ios app-home ion-content.custom-class-1 myelement {
// hack some ios css bug Image may be NSFW.
Clik here to view.
:wink:

}

Thanks for your help

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>