Depends on your definition of modern.
Here’s the code:
<style type=“text/css”>
@font-face {
font-family: “My Font”;
src: url(myfont.ttf);
}
.header {
font-family: “Ace Crikey”;
}
</style>
However, it is my understanding that this validates under CSS 2.0, and will validate under CSS 3.0, but does not validate under CSS 2.1.
EDIT: This page looks like it offers some solutions to the compatibility problem.