When you change a CSS properties value, the browser needs to react to your change. Some values change the layout of the page. For instance, a change in width requires the browser to update layout, then “paint” any pixels that have changed, then “composite” them together. That’s a lot of work. Some CSS properties can be changed more inexpensively. For instance, a change in background-image doesn’t require any layout changes, but does require paint and composite.

Paul Lewis did all the research on which properties do what. A good reference to help you think about what kind of changes you can make that are easy for the browser (thus fast) and what kind of changes are hard (thus slow).

Direct Link to Article — Permalink


CSS Triggers is a post from CSS-Tricks

No Comments
Comments to: CSS Triggers

Recent Articles

Good Reads

Traditional journalism is changing with the emergence of various digital platforms, AI and social media. Future journalists need to be trained in digital and multimedia forms of journalism. And that is where the BJMC Course comes into the picture, to prepare students for employment in various roles in the new age media. If you want […]
Beautiful sapphires, admired for their durability and vivid colors, often capture people’s interest. Blue sapphire and yellow sapphires are favorites, but if you want to wear a gemstone that can turn heads, consider Padparadscha Sapphire. Its distinctive pinkish-orange color makes it class apart. Blue and yellow sapphires, as members of the corundum family of minerals, […]

Worlwide

Overview VipsPM – Project Management Suite is a Powerful web-based Application. VipsPM is a perfect tool to fulfill all your project management needs like managing Projects, Tasks, Defects, Incidents, Timesheets, Meetings, Appointments, Files, Documents, Users, Clients, Departments, ToDos, Project Planning, Holidays and Reports. It has simple yet efficient layout will make managing projects easier than […]
Traditional journalism is changing with the emergence of various digital platforms, AI and social media. Future journalists need to be trained in digital and multimedia forms of journalism. And that is where the BJMC Course comes into the picture, to prepare students for employment in various roles in the new age media. If you want […]
Beautiful sapphires, admired for their durability and vivid colors, often capture people’s interest. Blue sapphire and yellow sapphires are favorites, but if you want to wear a gemstone that can turn heads, consider Padparadscha Sapphire. Its distinctive pinkish-orange color makes it class apart. Blue and yellow sapphires, as members of the corundum family of minerals, […]
The course you select after 12th can determine your future career. (Bachelor of Business Administration) BBA Course after 12th  is a popular undergraduate program for students who want to pursue a career in business, management, marketing, finance, and entrepreneurship. BBA students can look into careers in marketing, sales, human resources, finance, business operations and management. […]

Trending

Turquoise Jewelry is one of the ancient healing stones used for personal adornment and astrological benefits. The rare greenish blue-colored pectolite is celebrated for its enchanting powers among many crystal lovers. It is a hydrated phosphate of copper and aluminum that ranks 5 to 6 on the Mohs hardness scale. It is deemed a protective […]