Mark small size spinner icon

Description

The following code shows how to mark small size spinner icon.

Example


<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css"
  href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
<style type='text/css'>
section {<!--from w  w w .  j ava  2s.c om-->
  width: 200px;
  height: 200px;
  margin: 50px;
}

#overlay {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(255, 255, 255, 0.5);
}

#overlay i {
  position: absolute;
  top: 50%;
  left: 50%;
}

.spin-big {
  font-size: 50px;
  height: 50px;
  width: 50px;
  margin-top: -25px;
  margin-left: -25px;
}

.spin-normal {
  font-size: 35px;
  height: 35px;
  width: 35px;
  margin-top: -22.5px;
  margin-left: -22.5px;
}

.spin-small {
  font-size: 20px;
  height: 20px;
  width: 20px;
  margin-top: -10px;
  margin-left: -10px;
}
</style>
</head>
<body style='margin:30px'>
    <div id="overlay">
      <i class="fa fa-spinner fa-spin spin-small"></i>
    </div>
</script>
</body>
</html>

Click to view the demo





















Home »
  Bootstrap »
    Example »




Accordion
Alert
Auto Complete
Badge
Breadcrum
Button
Carousel
Collapse
Dialog
Dropdown
Form
Icon
Jumbotron
Label
Layout
List
List Group
Media
Navigation Bar
Pager
Page Header
Panel
Paragraph
Pills
Popover
ProgressBar
ScrollSpy
Switch
Tab
Table
Thumnail
Tooltip
Tree
Well