This is looking at some snippets of code on the internet for a deeper learning of CSS, and I saw this code contained in a menu and would like to know what the functionality of it.
.nav:before,
.nav:after {
content: " ";
display: table;
}