This is the definition of bootstrap 4's clearfix,
.clearfix::after {
display: block;
clear: both;
content: "";
}
I understand what clear does but not the other two.
Why do we need to add an empty string and make it block?
I've sometimes seem display set to table as well, what does that do?