CSS - web font
on 2015-08-11
CSS - web font
Use our font
Put your font file on your server.
Default font can’t cross domain used.
Suggest use OTF
or TTF
format.
@font-face {
font-family: playstation;
src: url(TRIIYP.otf);
}
@font-face {
font-family: sony;
src: url(sony.TTF);
}
Fonts
Demo
CSS3 - object-fit
on 2015-07-11
CSS3 - object-fit
We can use CSS3 property object-fit
handle image show area and fit it.
But only IE no support.
Example