chat how do i use css . i wanna change the cursor and font but idk how cry
Comment
For fonts: use the font-family property of * (meaning "everything").
* {
font-family: "YOUR FONT";
}
if the font you want to use is a generic category of fonts (e.g. serif, monospace, or cursive) then that's all you need, but if you want to import a font from another website, you need to upload the .ttf or .otf file somewhere, and add this code:
@font-face {
font-family: "FONT NAME";
src: url(LINK TO TTF OR OTF FILE);
}
For cursors, you need to upload the image or .cur file somewhere, then use the cursor property of whatever you want the cursor to appear on (most likely, everything):
For fonts: use the
font-family
property of*
(meaning "everything").if the font you want to use is a generic category of fonts (e.g.
serif
,monospace
, orcursive
) then that's all you need, but if you want to import a font from another website, you need to upload the .ttf or .otf file somewhere, and add this code:For cursors, you need to upload the image or .cur file somewhere, then use the
cursor
property of whatever you want the cursor to appear on (most likely, everything):