Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

@media for react style css

const mediaMatch = window.matchMedia('(min-width: 500px)');

console.log(mediaMatch.matches)
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #react #style #css
ADD COMMENT
Topic
Name
5+9 =