CSS3 Эффекты для Изображений с Заголовком и Цитатой #6 (Testimonial Card)

CSS3 Эффекты для Изображений с Заголовком и Цитатой #6

CSS3 Эффекты для Изображений с Заголовком, Цитатой и Эффектом при Наведении (Testimonial Card)

Скачать код с Демо дополнениями

<figure class="snip1579"><img src="image.jpg" alt="profile-sample2"/>
  <figcaption>
    <h3>Sue Shei</h3>
    <h5>Founder</h5>
    <blockquote>
      <p>'Which is worse, that everyone has his price, or that the price is always so low.'</p>
    </blockquote>
  </figcaption><a href="#"></a>
</figure>
@import url(https://fonts.googleapis.com/css?family=Lato);
@import url(https://fonts.googleapis.com/css?family=Oswald);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);
.snip1579 {
  font-family: 'Lato', Arial, sans-serif;
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 8px;
  min-width: 250px;
  max-width: 310px;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  text-align: left;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.snip1579 * {
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.snip1579 img {
  max-width: 100%;
  vertical-align: top;
}
.snip1579 figcaption {
  position: absolute;
  height: 75px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  overflow: hidden;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.75);
}
.snip1579 h3 {
  font-family: 'Oswald';
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin: 3px 0;
}
.snip1579 h5 {
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  color: #bbb;
  letter-spacing: 1px;
}
.snip1579 blockquote {
  padding: 0;
  margin: 0;
  font-style: italic;
  font-size: 1em;
}
.snip1579 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.snip1579:hover figcaption,
.snip1579.hover figcaption {
  height: calc(85%);
}
profile-sample2

Sue Shei

Founder

‘Which is worse, that everyone has his price, or that the price is low.’


profile-sample7

Indigo Violet

Web Designer

‘I’m killing time while I wait for life to shower me with meaning and happiness.’


profile-sample6

Will Barrow

Public Relations

‘The only skills I have the patience to learn are those that have no real’


Aliexpress INTAliexpress INTAliexpress INT

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *