Popovers

The popover is a small overlay that contains menu items or additional content. We use it e.g. for longer help texts, dropdowns or date pickers.

Header

In Texas, on the contrary, the towns are much more numerous and important. Corpus Christi, in the county of Nueces, and all the cities situated on the Rio Bravo, Laredo, Comalites, San Ignacio on the Web, Rio Grande City on the Starr, Edinburgh in the Hidalgo, Santa Rita, Elpanda, Brownsville in the Cameron, formed an imposing league against the pretensions of Florida. So, scarcely was the decision known, when the Texan and Floridan deputies arrived at Baltimore in an incredibly short space of time. From that very moment President Barbicane and the influential members of the Gun Club were besieged day and night by formidable claims. If seven cities of Greece contended for the honor of having given birth to a Homer, here were two entire States threatening to come to blows about the question of a cannon.

 
 
General CSS for popovers

.popover {
  padding: 16px;
  font-size: 14px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(114, 128, 142, .10), 0 5px 35px 0 rgba(39, 53, 89, .10), 0 5px 15px 0 rgba(0, 0, 0, .08);
}

.popover::before {
  content: "";
  display: block;
  z-index: 100;
  position: absolute;
  width: 12px;
  height: 12px;
  border-style: solid;
  border-color: #f1f2f3;
  background: #fff;
}

Popover variations

Popover with a central arrow at the top

Header

On the west, however, rise the Rocky Mountains, that immense range which, commencing at the Straights of Magellan, follows the western coast of Southern America under the name of the Andes or the Cordilleras, until it crosses the Isthmus of Panama, and runs up the whole of North America to the very borders of the Polar Sea. The highest elevation of this range still does not exceed 10,700 feet. With this elevation, nevertheless, the Gun Club were compelled to be content, inasmuch as they had determined that both telescope and Columbiad should be erected within the limits of the Union. All the necessary apparatus was consequently sent on to the summit of Long’s Peak, in the territory of Missouri.

 
 
Popover with an arrow on the right

Header

On the west, however, rise the Rocky Mountains, that immense range which, commencing at the Straights of Magellan, follows the western coast of Southern America under the name of the Andes or the Cordilleras, until it crosses the Isthmus of Panama, and runs up the whole of North America to the very borders of the Polar Sea. The highest elevation of this range still does not exceed 10,700 feet. With this elevation, nevertheless, the Gun Club were compelled to be content, inasmuch as they had determined that both telescope and Columbiad should be erected within the limits of the Union. All the necessary apparatus was consequently sent on to the summit of Long’s Peak, in the territory of Missouri.

 
 
Popover with a central arrow at the bottom

Header

On the west, however, rise the Rocky Mountains, that immense range which, commencing at the Straights of Magellan, follows the western coast of Southern America under the name of the Andes or the Cordilleras, until it crosses the Isthmus of Panama, and runs up the whole of North America to the very borders of the Polar Sea. The highest elevation of this range still does not exceed 10,700 feet. With this elevation, nevertheless, the Gun Club were compelled to be content, inasmuch as they had determined that both telescope and Columbiad should be erected within the limits of the Union. All the necessary apparatus was consequently sent on to the summit of Long’s Peak, in the territory of Missouri.

 
 
Popover with an arrow on the left

Header

On the west, however, rise the Rocky Mountains, that immense range which, commencing at the Straights of Magellan, follows the western coast of Southern America under the name of the Andes or the Cordilleras, until it crosses the Isthmus of Panama, and runs up the whole of North America to the very borders of the Polar Sea. The highest elevation of this range still does not exceed 10,700 feet. With this elevation, nevertheless, the Gun Club were compelled to be content, inasmuch as they had determined that both telescope and Columbiad should be erected within the limits of the Union. All the necessary apparatus was consequently sent on to the summit of Long’s Peak, in the territory of Missouri.

 
 
Additional CSS for popover variations

.popover.arrow-top-center::before {
  top: -7px;
  left: 50%;
  -webkit-transform: translateX(-50%) rotate(45deg);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px 0 0;
  border-width: 1px 0 0 1px;
}

.popover.arrow-right-center::before {
  top: 50%;
  right: -7px;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 0 3px 0 0;
  border-width: 1px 1px 0 0;
}

.popover.arrow-bottom-center::before {
  bottom: -7px;
  left: 50%;
  -webkit-transform: translateX(-50%) rotate(45deg);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 0 0 3px;
  border-width: 0 1px 1px 0;
}

.popover.arrow-left-center::before {
  top: 50%;
  left: -7px;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 0 0 0 3px;
  border-width: 0 0 1px 1px;
}