Ionic Specific platform not working

.ios{
    page-training{
        .overview-items {
            margin-top: -40px !important;
        }
    }
}

.md {
    page-training{
        .overview-items {
            margin-top: 45px !important;
        }
    }
}

in my css i have code for different platform but my android device is always executing ios!