Snippets Collections
.parent {
  display: flex; /* Enables Flexbox */
  height: 300px; /* Set a specific height for the parent div */
  border: 1px solid #000;
}

.child {
  background-color: lightblue;
  flex: 1; /* Optional: Makes the child take up remaining space */
}
​/*
Theme Name:     Twenty Seventeen Child
Theme URI:      https://wordpress.org/themes/twentyseventeen-child/
Description:    Tema Child per il tema Twenty Thirteen
Author:         Bruna Carolina Santos
Author URI:     
Template:       twentyseventeen
Version:        2.8-wpcom
*/
star

Wed Jan 08 2025 22:43:26 GMT+0000 (Coordinated Universal Time)

#flexbox #stretch #child
star

Mon May 16 2022 13:53:43 GMT+0000 (Coordinated Universal Time) https://brunacarolinasantos.com/wp-admin/theme-editor.php?file

#undefined #child

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension