Извлечённая цитата 2

Интересное оформление цитаты в тексте с помощью приёмов CSS.

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Pull quotes 2</title>
	<style>
		body {
			font: 13px/1.5 arial, helvetica, sans-serif;
		}	
		article {
			width: 500px;
		}	
		.pquote {
			float: right;
			width: 200px;
			background: url(https://foxyforex.ru/wp-content/uploads/2023/09/openquote.gif) top left no-repeat;
			color: #030;
			font-size: 26px;
			line-height: 0.9;
			font-style: italic;
			padding: 13px;
		}
		blockquote {
			margin: 0;
		}
		.pquote p:first-letter {
			font-size: 39px;
			font-weight: bold;
		}
	</style>
</head>
<body>
	<article>
		<p>If ever there was evidence of God, the humble pea is it.</p>
		<p>Mother Nature has never created something of such perfection, something that takes Darwin's theory of evolution to the extent that a natural element can, over millions of years, evolve into something so flawless.</p>

		<aside class="pquote">
			<blockquote>
				<p>It is not an exaggeration to say that peas can be described as nothing less than perfect spheres of joy.</p>
			</blockquote>
		</aside>

		<p>The green seed of the white-flowering climbing leguminous papilionaceous plant, pisum sativum, has become a dining-table favourite for good reason.</p>
		<p>The perfect accompaniment to any meal, the diminutive spherical vegetable brings joy to billions worldwide, be they fresh, frozen, canned or dried.</p>
		<p>Even leaving aside the astounding nutritional package, the taste explosion and texture of a well cooked pea is undeniably enough to award this deceptively simple seed the gold-medal of the foodstuff Olympics.</p>
		<p>There is debate surrounding the tampering of the form of the original spherical vegetable. The question as to whether the 'mushy' pea is sacrilege or an innovative approach to re-package the perfect product is a sensitive issue. A similar argument arises when approaching the relatively new craze of mangetout. In-depth study is required, but for now it is too early to assess the true importance of this baby pea pod.</p>
		<p>In its original form, the pea is a giant amongst food products and a deity of the vegetable world. It is not an exaggeration to say that peas can be described as nothing less than perfect spheres of joy.</p>
	</article>
</body>
</html>

Страницы в тему:

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