


▲ 53 r/developersIndia
Apparently you can put images inside your console logs
u/Mindless_Head_6526 — 10 hours ago



Website: https://ladybegood.github.io/bad-apple/
Source Code: https://github.com/ladybegood/bad-apple/
Github link with preview and explanation: https://github.com/LadyBeGood/doraemon
If you liked this post, consider giving it a star on Github. That is mostly why I made this post. Thank you.
Github Link: https://github.com/LadyBeGood/doraemon
Top curve is the real gradient, bottom one is an artifact.
I am trying to make some css art using gradients. I knew beforehand that gradients in firefox are not very reliable, but why some of my gradients (like this one) duplicates at some smaller window widths (<500px, see code).
Live link: https://jsfiddle.net/8dq1feu5/
This is the code to reproduce it.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div class="container"></div>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100svh;
}
.container {
width: min(500px, 100vw);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
aspect-ratio: 1/1;
background-repeat: no-repeat;
background-image: radial-gradient(ellipse 100% 94.33% at 50% 0%, transparent 40%, red 0 42%, transparent 0);
background-size: 30.5% 30.5%;
background-position: 54.1% 100.75%;
}
</style>
</body>
</html>