Hallo,
Wie kann man die Bootstrap 5 icons lokal benutzen. (bootstrap-icons-1.2.0)
Folgendes habe ich gemacht:
Fonts im Ordner Fonts meines Template (Cassiopeia Kopie) eingefügt.
bootstrap-icons.woff
bootstrap-icons.woff2
Font-face in der user.css eingefügt:
Code
@font-face {
font-family: 'bootstrapicons';
src: url('../fonts/bootstrap-icons.woff2') format('woff2'),
url('../fonts/bootstrap-icons.woff') format('woff');
font-weight: normal;
font-style: normal;
}
bootstrap-icons.css im CSS Ordner eingefügt.
Folgender Code wird benutzt :
<i class="bi bi-display"></i>
Icons sind nicht sichtbar.
Müssen noch die svg icons lokal ? Wenn ja, wo kommen die icons hin ?
Von hier wurde das Packet geladen:
Bootstrap Icons v1.2.0
Our latest Bootstrap Icons release includes dozens of new icons, redesigned documentation, and the most highly requested new feature—icon fonts!
New social…
blog.getbootstrap.com
(Download just the SVGs and fonts)