ChatGPT offers $18 free trial credit, which is about to be exhausted soon.
!ask Write me a HTML page that shows a heart in animation using Javascript to my wife as a Valentine's gift. Could you make sure it can be viewed nicely on the mobile?
<!DOCTYPE html>
<html>
<head>
<title>Valentine's Gift for My Wife</title>
<style>
body {
background-color: #FFC0CB;
}
#heart {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 200px;
height: 200px;
background-color: #FF1493;
border-radius: 50%;
animation: heart-beat 1s infinite;
}
@keyframes heart-beat {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
@media (max-width: 600px) {
#heart {
width: 100px;
height: 100px;
}
}
</style>
</head>
<body>
<div id="heart"></div>
</body>
</html>
Well, not a heart, but a circle
ChatGPT Plus in UK is not out yet - on waiting list though.
Steem to the Moon!
You can swap the STEEM/SBD to USDT (TRC-20) via Steem2USDT
Top comments (0)