New CSS features in Angular

Published: 01 December 2023
on channel: Brian Treese
343
11

Angular 17 brought a few low-key style features to components that we could easily overlook with all the major changes that dropped. In this video I'll show you how to use them. They are not earth shattering changes but I'll cover some subtle changes to the way that we include styles both inline and externally for individual Angular components. Alright, let’s get to it. 🙌

------------------------------------------------------------------------------

🔗 Demo Link:
https://stackblitz.com/edit/stackblit...

------------------------------------------------------------------------------

📖 Chapters:
0:00 - Introduction
0:45 - Adding styles to a component as an array of strings in metadata with the styles property
1:24 - New feature adding styles to a component as a single string in metadata with the styles property
2:05 - Converting styles metadata to an externally referenced stylesheet
2:30 - Adding multiple stylesheets to a component as an array of strings in metadata with the styleUrls property
2:55 - New feature adding a single stylesheet to a component as a single string in metadata with the new styleUrl property

------------------------------------------------------------------------------

#angular #angulartutorial #css


On this page of the site you can watch the video online New CSS features in Angular with a duration of hours minute second in good quality, which was uploaded by the user Brian Treese 01 December 2023, share the link with friends and acquaintances, this video has already been watched 343 times on youtube and it was liked by 11 viewers. Enjoy your viewing!