Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70818

Use of parent html elements CSS selector in local SCSS files

$
0
0

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 :wink:
}

Thanks for your help

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70818

Trending Articles



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