How to hide footnotes via CSS?

Maybe something like this:

.markdown-preview-section .footnotes {
   display:none;
}

.footnote-ref a {
   display:none;
}