Every time, I get to work with CSS, I am amazed by some new property that I did not know before. In this article, I have compiled some CSS tricks that I have picked in the last few days while designing
Styled components is the new rage in the world of React. It allows to define components with accompanying style like below.
const Button = styled.a`
padding: 0.5rem 0;
margin: 0.5rem 1rem;
border: 2px solid white;
The above code defines a Button component which is styled based on a link element. The style is defined
What is the coolest CSS work that you have done? This is an interview question for which I did not have a good answer. My answer never had the WoW factor. My answer previously was: I am good at vertically
Responsive design is making the page layout adaptable to mobile devices. There are many ways to make a layout responsive. Twitter bootstrap is one way to make it happen. I prefer simple media queries. This article highlights one such example.