# image-map-hotspots/1.4/settings/css/template-css.php

Image Hotspot – Map Image Annotation, version 1.4. 586 lines.

- Page: https://pluginprobe.com/plugins/image-map-hotspots/1.4/code/settings/css/template-css.php
- Raw: https://pluginprobe.com/plugins/image-map-hotspots/1.4/raw/settings/css/template-css.php
- Modified: 2022-04-18T14:47:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/image-map-hotspots/1.4/code/settings/css/template-css.php#L10-L20`.

```php
<style>
  .imh-6310-tooltip.imh-6310-template-01 a {
  text-decoration: none;
  font-size: 20px;
  color: #ffeb3b;
}

.imh-6310-tooltip.imh-6310-template-01 {
  position: absolute;
  display: inline-block;
  top: 20%;
  left: 20%;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation-name: shakeMe;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes shakeMe {
  2%, 18% {
    transform: translate3d(-5px, 0, 0);
  }
  4%, 16% {
    transform: translate3d(5px, 0, 0);
  }
  6%, 10%, 14% {
    transform: translate3d(-5px, 0, 0);
  }
  8%, 12% {
    transform: translate3d(5px, 0, 0);
  }
  18.1% {
    transform: translate3d(0px, 0, 0);
  }
}

.imh-6310-tooltip.imh-6310-template-01:hover {
  animation: unset !important;
}
.imh-6310-template-01-hover-content {
  visibility: hidden;
  width: 120px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  left: -14px;
  top: -40px;
}

.imh-6310-template-01-hover-content::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid rgb(255, 255, 255);
  bottom: -10px;
  left: 47px;
}

.imh-6310-tooltip.imh-6310-template-01:hover .imh-6310-template-01-hover-content {
  visibility: visible;
}

/* temp 03 */

.imh-6310-tooltip.imh-6310-template-03 {
  position: absolute;
  top: 38%;
  left: 33%;
  display: flex;
  justify-content: center;
}

.imh-6310-tooltip.imh-6310-template-03 img {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  animation: pulse-3 2s infinite;
}

.imh-6310-tooltip.imh-6310-template-03 a {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.imh-6310-template-03-hover-content::after {
  content: '';
  position: absolute;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff8dc;
  left: 48%;
  bottom: -8px;
}

.imh-6310-template-03-hover-content {
  width: 400px;
  visibility: hidden;
  transform: scale(0);
  transition: .5s;
  bottom: 20px;
  position: absolute;
  z-index: 1;
}

.imh-6310-tooltip .imh-6310-template-03 a:hover~.imh-6310-template-03-hover-content {
  visibility: visible;
  transform: scale(1);
}

@-webkit-keyframes pulse-3 {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.72);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

.imh-6310-template-03-tooltip-testimonial {
  padding: 20px;
  background: cornsilk;
}

.imh-6310-template-03-tooltip-testimonial .imh-6310-template-03-tooltip-pic {
  width: 122px;
  height: 122px;
  float: left;
  margin-right: 50px;
  position: relative;
}

.imh-6310-template-03-tooltip-testimonial .imh-6310-template-03-tooltip-pic:before, .imh-6310-template-03-tooltip-testimonial .imh-6310-template-03-tooltip-pic:after {
  content: "";
  display: block;
  height: 50%;
  width: 50%;
  position: absolute;
}

.imh-6310-template-03-tooltip-testimonial .imh-6310-template-03-tooltip-pic:before {
  bottom: -10%;
  left: -10%;
  border-bottom: 3px solid #E16B47;
  border-left: 3px solid #E16B47;
}

.imh-6310-template-03-tooltip-testimonial .imh-6310-template-03-tooltip-pic:after {
  top: -10%;
  right: -10%;
  border-top: 3px solid #e16b47;
  border-right: 3px solid #e16b47;
}

.imh-6310-template-03-tooltip-testimonial .imh-6310-template-03-tooltip-pic img {
  width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  animation: unset !important;
}

.imh-6310-template-03-tooltip-testimonial .imh-6310-template-03-tooltip-testimonial-content {
  display: table;
  position: relative;
}

.imh-6310-template-03-tooltip-testimonial .imh-6310-template-03-tooltip-testimonial-title {
  font-size: 24px;
  color: #e16b47;
  text-transform: capitalize;
}

.imh-6310-template-03-tooltip-testimonial .imh-6310-template-03-tooltip-post {
  font-size: 13px;
  font-weight: 600;
  color: #585f62;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  margin-left: 5px;
  padding-left: 5px;
}

.imh-6310-template-03-tooltip-testimonial .imh-6310-template-03-tooltip-description {
  font-size: 13px;
  color: #7c7c7c;
  line-height: 22px;
}

/* temp 04 */

.imh-6310-tooltip .imh-6310-template-04 {
  position: absolute;
  top: 80%;
  left: 60%;
  display: flex;
  justify-content: center;
}

.imh-6310-tooltip .imh-6310-template-04 img {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  animation: pulse-3 2s infinite;
}

.imh-6310-tooltip .imh-6310-template-04 a {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.imh-6310-template-04-tooltip-testimonial::after {
  content: '';
  position: absolute;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #ffffff;
  left: 47%;
  bottom: -8px;
}

.imh-6310-template-04-tooltip-testimonial {
  width: 400px;
  background: #ffffff;
  visibility: hidden;
  transform: scale(0);
  transition: .5s;
  bottom: 0;
  position: absolute;
}

.imh-6310-template-04-tooltip-testimonial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.imh-6310-template-04-tooltip-testimonial-content {
  float: left;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.imh-6310-template-04-tooltip-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-top: -50px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.imh-6310-template-04-tooltip-pic img {
  width: 100% !important;
  height: auto !important;
  position: relative !important;
}

.imh-6310-template-04-tooltip-title {
  font-size: 25px;
  font-weight: bold;
  color: rgb(0, 0, 0);
  margin: 10px 0 0 0;
  font-family: sans-serif;
}

.imh-6310-template-04-tooltip-post {
  font-size: 16px;
  color: rgb(108 105 105);
}

.imh-6310-template-04-tooltip-description {
  display: inline-block;
  margin: 10px;
  padding: 8px;
  border: 1px solid rgb(0 0 0 / 15%);
  font-size: 14px;
  color: rgb(0, 0, 0);
  position: relative;
  box-sizing: border-box;
  font-family: sans-serif;
}

.imh-6310-template-04-tooltip-description:before {
  content: "";
  border: 10px solid transparent;
  border-right: 10px solid rgba(255, 255, 255, 0.15);
  position: absolute;
  top: 20px;
  left: -21px;
}

.imh-6310-tooltip .imh-6310-template-04 a:hover~.imh-6310-template-04-tooltip-testimonial {
  visibility: visible;
  transform: scale(1);
}

@-webkit-keyframes pulse-3 {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.72);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* temp 05 */

.imh-6310-tooltip .imh-6310-template-05 {
  position: absolute;
  top: 80%;
  left: 60%;
  display: flex;
  justify-content: center;
}

.imh-6310-tooltip .imh-6310-template-05 img {
  position: absolute;
  width: 50px;
  display: block;
}

.imh-6310-tooltip .imh-6310-template-05 a {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.imh-6310-template-05-hover-content::after {
  content: '';
  position: absolute;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #3e2a41;
  left: 48%;
  bottom: -7px;
}

.imh-6310-template-05-hover-content {
  width: 400px;
  background: #3e2a41;
  visibility: hidden;
  transform: scale(0);
  transition: .5s;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.imh-6310-template-05-hover-content .imh-6310-template-05-tooltip-testimonial {
  margin: 20px 0;
  display: flex;
}

.imh-6310-template-05-tooltip-testimonial-content {
  width: 40%;
  float: left;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px;
}

.imh-6310-template-05-tooltip-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.imh-6310-template-05-tooltip-pic img {
  width: 100% !important;
  height: auto;
  position: relative !important;
}

.imh-6310-template-05-tooltip-testimonial-content .imh-6310-template-05-tooltip-title {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  margin: 10px 0 0 0;
}

.imh-6310-template-05-tooltip-testimonial-content .imh-6310-template-05-tooltip-post {
  font-size: 12px;
  color: #fff;
}

.imh-6310-template-05-tooltip-description {
  display: inline-block;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 15%);
  font-size: 14px;
  color: white;
  position: relative;
  margin: 8px;
  font-family: sans-serif;
  line-height: 20px;
}

.imh-6310-tooltip .imh-6310-template-05 a:hover~.imh-6310-template-05-hover-content {
  visibility: visible;
  transform: scale(1);
}
@media only screen and (max-width: 767px) {
  .imh-6310-template-05-tooltip-testimonial-content {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
  .imh-6310-template-05-tooltip-description:before {
    border: 10px solid transparent;
    border-bottom: 10px solid rgba(255, 255, 255, 0.15);
    position: absolute;
    top: -20px;
    left: 47.5%;
  }
  .imh-6310-template-05-tooltip-testimonial {
    flex-direction: column;
  }
  .imh-6310-template-05-hover-content {
    width: 200px;
  }
}

/* temp 02 */

.imh-6310-tooltip .imh-6310-template-02 a i {
  font-size: 35px;
  color: #ff9800;
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 rgb(204 169 44 / 40%);
  animation: pulse 2s infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imh-6310-tooltip .imh-6310-template-02-wrapper {
  position: absolute;
  bottom: 36%;
  right: 29%;
}

.imh-6310-tooltip .imh-6310-template-02 a {
  text-decoration: none;
  font-size: 20px;
  color: #000000;
}

.imh-6310-tooltip .imh-6310-template-02-content {
  position: absolute;
  top: 0;
  background: #ff9800;
  color: black;
  border-radius: 5px;
  padding: 5px;
  font-size: 20px;
}

.imh-6310-tooltip .imh-6310-template-02 {
  position: absolute;
  display: inline-block;
  top: 53%;
  left: 8%;
}

.imh-6310-template-02-hover-content {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  left: 74px;
  top: -90px;
  width: 300px;
  height: 200px;
}

.imh-6310-template-02-content::after {
  content: "";
  position: absolute;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid black;
  left: -10px;
  top: 50%;
  z-index: 2;
}

.imh-6310-template-02-content {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.imh-6310-pos-right-tooltip::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid black;
  left: -9px;
  top: 50%;
}

.imh-6310-tooltip .imh-6310-template-02:hover .imh-6310-template-02-hover-content {
  visibility: visible;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
  }
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
  }
  70% {
    -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
    box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
  }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
    box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
  }
}

.imh-6310-template-02-content iframe {
  height: 75%;
  width: 100%;
  position: absolute;
}
</style>
```
