I'm trying to use GitHub's primer and octicons. After using npm
to install both I started using the css classes defined by GitHub by including the build.css
file in my html document. How would I point the project towards all the svg icons that octicons
gives me?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello Primer</title>
<link rel="stylesheet" href="node_modules/primer-css/build/build.css">
</head>
<body>
<form>
<div class="input-group">
<input class="form-control" type="text" placeholder="Username">
<span class="input-group-button">
<button class="btn">
<span class="octicon octicon-clippy"></span>
</button>
</span>
</div>
</form>
</body>
</html>
src: url('node_modulles/octicons/build/font/octicons.woff') format('woff')
lines? it seems likenode_modules
is misspelled, I commented it out and everything still worked, so are those lines not required? – Heraclitus