CSS Language Interview Question
Comprehensive source of knowledge for interviews CSS Language.
What is CSS?
CSS stands for Cascading Style Sheets, it is a language used to find and reformat elements created by markup languages (HTML). In short, it is a language that creates style for websites. You can simply understand that, if HTML plays the role of formatting elements on a website such as creating paragraphs, headings, tables, etc., CSS will help us add style to those HTML elements such as changing layout, page color, changing text color, font, changing structure, etc.
CSS was developed by W3C (World Wide Web Consortium) in 1996, because HTML was not designed to tag to help format the website.
The way CSS works is that it will search based on selectors, selectors can be the name of an HTML tag, the name of an ID, class or many other types. Then it will apply the properties that need to be changed to that selected area.
CSS3 is the latest upgrade of CSS with the purpose of extending "CSS2.1". CSS3 brings many new features such as rounded corners, creating shadows, gradients, transitions or animations as well as new layouts such as multiple-column, flexbox or grid layout.