Content
CSS is not a pro- gramming language Of course it is! What are the main concepts of OOP? Encapsulation, like how all the CSS properties are constained in a rule. .myClass encapsulated! color: red; font-weight: bold; margin: 3rem; red Inheritance, like how the CSS properties flow down to the children ( the cascade). color is inherited! color: red; div class"red" thic is red ..this too!div div Abstraction, how we can use a classes to style without knowing what is 1 inside button class-"btn") styled button button .btn 0 article class-"awesome" awesome article article section class-"awesome awesome section section Polymorphism, like using the same class on different HTML elements. awesome CSS is not only a programming language, it is an object-oriented prodramm-ing language