Steps to implement responsiveness in website/blog:
1) Refer Mozilla MDN site for CSS3 media query specs
2) Don't use px instead use em and % for width and font
3) Identify the elements which you want to render differently for each resolution
Specify the @media query for each resolution which you can easily get from Mozilla MDN and define the css
@media (max-width: 480px) {
.element_selector {
width: 90%; // properties you want to change }
}
4) In case of images, make the width to be 100% of parent to make them fit within the container
@media (max-width: 480px) {
img {
max-width: 100%;
// properties you want to change
}
}
Keep doing that for all screen resolutions you want to focus.
5) At last add this meta to your header
<meta name="viewport" content="width=device-width, initial-scale=1">