Is it possible to achieve the layout shown in the image below using CSS? I've tried using shape-outside: circle();
but it's not coming out as expected. Any suggestions on how to accomplish this?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Circles</title>
<style>
img {
border-radius: 50%;
shape-outside: circle();
transition: transform .3s ease;
padding: 5px;
}
img:hover {
transform: scale(1.1);
}
</style>
</head>
<body>
<img src="https://picsum.photos/100" />
<img src="https://picsum.photos/100" />
<img src="https://picsum.photos/100" />
<img src="https://picsum.photos/100" />
<img src="https://picsum.photos/100" />
<img src="https://picsum.photos/100" />
<img src="https://picsum.photos/100" />
<img src="https://picsum.photos/100" />
</body>
</html>