When I use this code(see below) the media query does not work
@media (min-width: 768px) and (orientation : portrait) { //scss code }
But when I remove the 'and (orientation : portrait)' part it works. i.e
//this code works
@media (min-width: 768px) { //scss code }
How can I set up media queries for Ipads and Tablets for portrait and landscape orientations in CSS?
PS: I am coding a responsive layout for the web and I am using scss mixins (don't know if that affects anything.)