I need assistance in creating a menu that spans the full width of the parent container.
The children elements should have their width set to auto, but I want them to be fixed to the parent container.
It's important to note that I do not want to manually set the width for each child element since their text lengths vary.
Here is an example image:
I have attempted to achieve this using the following CSS code, but it is not working as expected:
#menu a {
padding:10px calc(100% / 5);
}
Can someone provide guidance on how I can accomplish this?