1

I am using the same design template for several webpages, which has a fixed height and width blockquote. The text inside will be different depending on the page it is on, with some being longer than others. So, is it possible that whatever text I place inside the blockquote, gets resized to perfectly fit within the block without having to do several media queries for each page?

The CSS I have for the blockquote:

blockquote {
  background-color : #c0303c;
  color            : #fff;
  margin           : 0;
  padding          : 0.5rem;
  text-align       : center;
  font-family      : 'Caudex', serif;
  height           : 315px;
  font-size        : 100%;
}
<blockquote>This is a blockquote.</blockquote>
Hazel へいぜる
  • 2,751
  • 1
  • 12
  • 44
u189zza
  • 19
  • 4

0 Answers0