Skip to content

Instantly share code, notes, and snippets.

@bow-fujita
Last active August 23, 2017 18:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bow-fujita/f5cecec9a2ccbc4d7f91 to your computer and use it in GitHub Desktop.
Save bow-fujita/f5cecec9a2ccbc4d7f91 to your computer and use it in GitHub Desktop.
Apply Bootstrap's Glyphicons as .ui-icon-glyphicon-* in jQueryMobile
@font-face {
font-family: 'Glyphicons Halflings';
src: url('fonts/glyphicons-halflings-regular.eot');
src: url('fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('fonts/glyphicons-halflings-regular.woff') format('woff'), url('fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}
.ui-icon-glyphicon-asterisk:after,
.ui-nosvg .ui-icon-glyphicon-asterisk:after {
color:#fff;
font-size:14px;
font-family: 'Glyphicons Halflings';
font-style:normal;
font-weight:normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 21px;
content: "\2a";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment