Extending in Twig is a method by which one template can inherit content from another template, while still being able to override parts of that content.
Managing CSS and JavaScript files in Drupal 8 with Libraries
Drupal 8 revolutionizes the theming experience with many significant improvements to make theming easier, and give themers the flexibility and control they've never had before.