dabblet

Log in My profile Log out
New dabblet
Save Save as new Save anonymously
View gist View full page result alexeyten
?
/**
 * Квадрат!
 */


div {
	display: table-cell;
	box-shadow: 0 0 5px red;
	position: relative;
}

svg {
	display: block;
	width: 12.5vw;
	max-width: 15vh;
	visibility: hidden;
}

div p {
	position: absolute;
	margin: 0;
	padding: 10px;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	box-shadow: 0 0 5px blue inset;
}
<div>
	<svg viewBox="0 0 1 1"></svg>
	<p>А что внутри?</p>
</div>
// alert('Hello world!');
(ABCabc123&@%) (ABCabc123&@%)
Loading…