I am using below LESS to target mobile phones and all other devices are working, but Window phone position: relative breaks the whole UI.
li {
@media screen and (max-width: 480px) {
position: relative;
top: 4px;
zoom: 0.5;
width: 46px;
}
}
How can I target only windows phone specifically using media queries.
I have been through below solutions, but they are using conditional CSS tag and my project uses LESS.
And below solution targets dpi, that probably might change in future devices. Hence this does not solve my problem.