HTML and CSS Reference
In-Depth Information
I again rely on Ada Lovelace for the quote:
<p>The Analytical Engine has no pretensions whatever to
originate anything.
It can do whatever we know how to order it to perform.</p>
Here's the
CSS
to apply the font:
@font-face {
font-family: megalopolis;
src: url(MEgalopolisExtra.woff) format("woff"),
url(MEgalopolisExtra.otf) format("opentype");
}
p {
font-family: megalopolis, sans-serif;
}
p::first-line {
font-variant: small-caps;
}
You can see the additional ligatures in effect on the small-caps combi-
nations
ca
,
re
, and
at
.
Additional ligatures
Additional ligatures plus
default stylistic alternatives
The default stylistic alternatives adds a more curvy
s
but also a more
traditional
y
. The property for the second example is as follows:
font-feature-settings: "salt","dlig";
ME
galopolis has six other style sets, which can be turned on with
ss01
to
ss06
. Here are a couple of examples. If you're following along at
home, I suggest you try
ss06
for yourself:
"ss01"