[CSS] Day 8: Responsive Web



What is a responsive web and how can I make one?

* What I learn so far
- In the property:value, : colon is not necessary when you add color 
- basically does not work when you use solid:green; should be --> solid green;

first, right-click --> Inspect shows web page size


I can control the size so it makes viewing much easier

such as

my condition: screen width > 800px
can express by @media 


@media(min-width:800px) {
       div{
           display:none;
        }
  }


If my condition is screen width < 800px

@media(max-width:800px) {
       div{
           display:none;
        }
  }
This means if the webpage size is greater than 800px display will be none


* What I learn so far
- @mediaquery allows controlling screen size



Popular posts from this blog

[CSS] Day 4: Let's practice - box

[AWS] Intro to Cloud Practitioner 01

[AWS] AWS Management Interfaces 02