🚀 What is Vibe Coding?
It’s a new way to build software — where you just say what you want, and AI helps you code it.
No boilerplate. No burnout. Just you, your idea, and a good vibe. 💻✨
🧠 AI Assistants You’ll Love:
Gemini · Claude 4 · Copilot · Cursor · Ghostwriter · Codeium
🎨 UI Builders That Feel Like Magic:
v0.dev · Lovable.dev · Framer AI · Locofy.ai · WebCrumbs
⚡ Dev Tools With Style:
Zed · Supabase · Ray.so · Carbon
💡 Why it's called vibe coding:
Because it’s fast, creative, visual, and fun.
You’re not just coding — you’re creating.
🧵 Try these tools, build what you love, and let the AI handle the boring parts.
Vibe coding = prompts + flow + joy.
It’s a new way to build software — where you just say what you want, and AI helps you code it.
No boilerplate. No burnout. Just you, your idea, and a good vibe. 💻✨
🧠 AI Assistants You’ll Love:
Gemini · Claude 4 · Copilot · Cursor · Ghostwriter · Codeium
🎨 UI Builders That Feel Like Magic:
v0.dev · Lovable.dev · Framer AI · Locofy.ai · WebCrumbs
⚡ Dev Tools With Style:
Zed · Supabase · Ray.so · Carbon
💡 Why it's called vibe coding:
Because it’s fast, creative, visual, and fun.
You’re not just coding — you’re creating.
🧵 Try these tools, build what you love, and let the AI handle the boring parts.
Vibe coding = prompts + flow + joy.
🎉 Fun Project: Dancing Emoji Party
Bring life to your web page with this fun, animated dancing emoji effect. Pure HTML + CSS + JS = joy!
🎊 Use this for celebrations, easter eggs, or just to surprise your visitors with some fun!
More creative web ideas at 👉 @Html_codee
#fun #javascript #frontend #animation #html #css #codeparty
Bring life to your web page with this fun, animated dancing emoji effect. Pure HTML + CSS + JS = joy!
<div id="party-zone"></div>
<style>
body {
background: #111;
margin: 0;
overflow: hidden;
}
#party-zone {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.emoji {
position: absolute;
font-size: 2rem;
animation: float 5s linear infinite;
user-select: none;
}
@keyframes float {
0% {
transform: translateY(100vh) rotate(0deg);
opacity: 0;
}
50% {
opacity: 1;
}
100% {
transform: translateY(-10vh) rotate(720deg);
opacity: 0;
}
}
</style>
<script>
const zone = document.getElementById("party-zone");
const emojis = ["🎉", "🔥", "✨", "💻", "🧠", "🎵", "🚀", "👾"];
function spawnEmoji() {
const emoji = document.createElement("div");
emoji.classList.add("emoji");
emoji.textContent = emojis[Math.floor(Math.random() * emojis.length)];
emoji.style.left = Math.random() * 100 + "vw";
emoji.style.fontSize = Math.random() * 2 + 1 + "rem";
emoji.style.animationDuration = Math.random() * 3 + 3 + "s";
zone.appendChild(emoji);
setTimeout(() => emoji.remove(), 6000);
}
setInterval(spawnEmoji, 200);
</script>
🎊 Use this for celebrations, easter eggs, or just to surprise your visitors with some fun!
More creative web ideas at 👉 @Html_codee
#fun #javascript #frontend #animation #html #css #codeparty
import { useState, useEffect } from 'react';
const App = () => {
const [count, setCount] = useState(0);
const word = "strawberrrrry";
useEffect(() => {
// Count the number of 'r's in the word
const rCount = word.split('').filter(char => char === 'r').length;
setCount(rCount);
}, []);
return (
<div className="min-h-screen bg-gradient-to-br from-pink-200 via-red-100 to-purple-200 flex items-center justify-center p-4">
<div className="max-w-sm w-full">
<div className="bg-white rounded-2xl shadow-xl overflow-hidden transform transition-all hover:scale-105 duration-300">
<div className="p-6 text-center">
<div className="inline-flex items-center justify-center w-16 h-16 rounded-full bg-red-100 text-red-600 mb-4">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" className="w-8 h-8">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" />
</svg>
</div>
<h2 className="text-2xl font-bold text-gray-800 mb-2">Berry R Counter</h2>
<p className="text-gray-600 mb-4">How many "r"s are in the word "{word}"?</p>
<div className="bg-gradient-to-r from-pink-400 to-purple-400 rounded-xl p-6 mb-4 transform transition-all duration-500 hover:rotate-1">
<div className="text-5xl font-extrabold text-white">{count}</div>
<div className="text-white mt-1">R{count !== 1 ? 's' : ''} found!</div>
</div>
<button
onClick={() => window.location.reload()}
className="mt-2 px-4 py-2 bg-gradient-to-r from-purple-500 to-pink-500 text-white rounded-lg font-medium hover:from-purple-600 hover:to-pink-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500 transition-all duration-300"
>
Try Again
</button>
</div>
<div className="px-6 pb-6 pt-2 flex justify-center space-x-1">
{[...Array(word.length)].map((_, i) => (
<div
key={i}
className={`w-3 h-3 rounded-full ${
word[i] === 'r'
? 'bg-red-500 animate-bounce'
: 'bg-gray-300'
}`}
style={{ animationDelay: `${i * 100}ms` }}
></div>
))}
</div>
</div>
<p className="mt-6 text-center text-sm text-gray-500">
A cute little counter card for a berry interesting question 🍓
</p>
</div>
</div>
);
};
export default App;🌿 Did You Know AI Images Harm the Planet?
Creating one AI image with tools like DALL·E or Midjourney can use more energy than a ChatGPT reply.
Why?
Because generating a single image activates large GPU-powered servers for several seconds, consuming significant electricity—often from fossil fuels.
🔌 Studies show:
1 AI image ≈ 5–10 times more energy than a Google search
1000 images = several kg of CO₂ emissions
✅ How to Create Smarter, Greener AI Art:
🎯 Generate only one image — avoid unnecessary re-rolls
📏 Use smaller sizes like 512x512 when possible
🔄 Reuse or slightly edit existing images
🧠 Use AI art only when needed, not just for fun
Let’s create with purpose, not pollution.
Art can be beautiful — and responsible.
🙏Please share this post
#GreenAI #EcoPrompt #SustainableDesign #AIandClimate #SmartCreativity
Creating one AI image with tools like DALL·E or Midjourney can use more energy than a ChatGPT reply.
Why?
Because generating a single image activates large GPU-powered servers for several seconds, consuming significant electricity—often from fossil fuels.
🔌 Studies show:
1 AI image ≈ 5–10 times more energy than a Google search
1000 images = several kg of CO₂ emissions
✅ How to Create Smarter, Greener AI Art:
🎯 Generate only one image — avoid unnecessary re-rolls
📏 Use smaller sizes like 512x512 when possible
🔄 Reuse or slightly edit existing images
🧠 Use AI art only when needed, not just for fun
Let’s create with purpose, not pollution.
Art can be beautiful — and responsible.
🙏Please share this post
#GreenAI #EcoPrompt #SustainableDesign #AIandClimate #SmartCreativity
❤1
browser_progress_.html
1.7 KB
Do you know this animation?
CodePen Blog
Chris’ Corner: Tokens
Mr. Brad Frost, and his brother Ian, have a new course they are selling called Subatomic: The Complete Guide to Design Tokens.
To be honest, I was a smidge skeptical. I know what a design token is. It’s a variable of a color or
But then we had those fellas on ShopTalk Show and I’ve updated my thinking that you really do want to lean on the expertise of people that have done this time and time again at scale.
(p.s. they also gave us a 20% discount code when they were on the show: SHOPTALKSHOWISAWESOME)
Spoiler: they advocate for a three-tier system of custom properties. The first is just the raw ingredients. Colors, but you’re just naming the color; sizes, but you’re just naming the sizes. Then there is this middle tier where you are essentially crafting a theme from those raw ingredients. And this layer is the most important, as it gives you this perfect layer of abstraction where you’re both not reaching into the raw ingredients and you’re not being too overly specific, like naming individual parts of components. The third layer should be avoided as best as it can, but if you absolutely need to get hyper specific, this is where you do it, and are still keeping in the land of custom properties.
This feels particularly smart to me, and I wish I had the benefit of the Frost Brother’s expertise on this before building some custom property systems I have built in the past. I tend to have that first layer with just the raw ingredients, and then jump right to what they’d call the third tier, which leads to a real blowing up of how many custom properties are in use, to the point that it feels overly cumbersome and like the whole system isn’t even helping that much. I’ll definitely be thinking about the theming tier next time I have a good refactoring opportunity.
Brad has also been steady on his global design system idea. I’ve posted my thoughts on this before, but I keep coming back to this one:
It feels like every decision you make will chip away at who will use it.
I’m fascinated at seeing how decisions get made that keep this thing as “global” as possible. That absolutely must be done, otherwise it’s just another design system which I thinks falls short of the goal. I appreciated Brian’s deep thoughts on it all as well, and I’m basically writing all this as an excuse to link to that.
Would a global design system have any design to it at all? Maybe; maybe not. It makes me wonder if the era of “flat design” that it seems like we’ve been in for a decade or so was partially the result of design systems, where the simpler things look the more practical it is to build all the “lego blocks” of a cohesive aesthetic. But it’s likely design trends move on. Maybe flat is over. Are design systems ready for very fancy/complex looks? Definitely worth a read is Amelia’s thoughts on “balancing the hard structure and soft flexibility” of UIs.
Speaking of design tokens, designtokens.fyi is a nice site for defining all the terms that design systems/tokens people like to throw around. A site with word definitions can be awfully boring so I appreciate the fun design here. I like the idea of calling a value system a “t-shirt” where you’re actually defining, say, a set of padding options, but the options follow the mental model of t-shirt sizes.
Sometimes you just need to look and see what other people are doing. In design, there always has been and will be design galleries full of inspirational stuff. But instead of linking to one of those, I’m going to link to to the[...]
Chris’ Corner: Tokens
Mr. Brad Frost, and his brother Ian, have a new course they are selling called Subatomic: The Complete Guide to Design Tokens.
To be honest, I was a smidge skeptical. I know what a design token is. It’s a variable of a color or
font-family or something. I pretty much only work on websites, so that exposes itself as a --custom-property and I already know that using those to abstract common usage of colors and fonts is smart and helpful. Done. I get that people managing a whole fleet of sites (and apps running in who-knows-what technologies) need a fancier token system, but that ain’t me.But then we had those fellas on ShopTalk Show and I’ve updated my thinking that you really do want to lean on the expertise of people that have done this time and time again at scale.
(p.s. they also gave us a 20% discount code when they were on the show: SHOPTALKSHOWISAWESOME)
Spoiler: they advocate for a three-tier system of custom properties. The first is just the raw ingredients. Colors, but you’re just naming the color; sizes, but you’re just naming the sizes. Then there is this middle tier where you are essentially crafting a theme from those raw ingredients. And this layer is the most important, as it gives you this perfect layer of abstraction where you’re both not reaching into the raw ingredients and you’re not being too overly specific, like naming individual parts of components. The third layer should be avoided as best as it can, but if you absolutely need to get hyper specific, this is where you do it, and are still keeping in the land of custom properties.
This feels particularly smart to me, and I wish I had the benefit of the Frost Brother’s expertise on this before building some custom property systems I have built in the past. I tend to have that first layer with just the raw ingredients, and then jump right to what they’d call the third tier, which leads to a real blowing up of how many custom properties are in use, to the point that it feels overly cumbersome and like the whole system isn’t even helping that much. I’ll definitely be thinking about the theming tier next time I have a good refactoring opportunity.
Brad has also been steady on his global design system idea. I’ve posted my thoughts on this before, but I keep coming back to this one:
It feels like every decision you make will chip away at who will use it.
I’m fascinated at seeing how decisions get made that keep this thing as “global” as possible. That absolutely must be done, otherwise it’s just another design system which I thinks falls short of the goal. I appreciated Brian’s deep thoughts on it all as well, and I’m basically writing all this as an excuse to link to that.
Would a global design system have any design to it at all? Maybe; maybe not. It makes me wonder if the era of “flat design” that it seems like we’ve been in for a decade or so was partially the result of design systems, where the simpler things look the more practical it is to build all the “lego blocks” of a cohesive aesthetic. But it’s likely design trends move on. Maybe flat is over. Are design systems ready for very fancy/complex looks? Definitely worth a read is Amelia’s thoughts on “balancing the hard structure and soft flexibility” of UIs.
Speaking of design tokens, designtokens.fyi is a nice site for defining all the terms that design systems/tokens people like to throw around. A site with word definitions can be awfully boring so I appreciate the fun design here. I like the idea of calling a value system a “t-shirt” where you’re actually defining, say, a set of padding options, but the options follow the mental model of t-shirt sizes.
Sometimes you just need to look and see what other people are doing. In design, there always has been and will be design galleries full of inspirational stuff. But instead of linking to one of those, I’m going to link to to the[...]
Html codes
CodePen Blog Chris’ Corner: Tokens Mr. Brad Frost, and his brother Ian, have a new course they are selling called Subatomic: The Complete Guide to Design Tokens. To be honest, I was a smidge skeptical. I know what a design token is. It’s a variable of a…
“Home of the internet’s finest website headlines.” I love a good headline, myself. I’ve seen far too many sites that do a terrible job of just saying what their point is.
🎨 CSS Neon Glow Card
Give your project a cyberpunk vibe with this glowing neon card effect — no JS required.
💡 Use it for profile cards, login screens, or cool landing pages.
✨ More vibrant CSS magic every day — only at @Html_codee
#css #neon #frontend #htmlcodee #webdesign #uikit
Give your project a cyberpunk vibe with this glowing neon card effect — no JS required.
<div class="neon-card">
<h2>Html_codee</h2>
<p>Bright ideas in glowing code!</p>
</div>
<style>
body {
background: #000;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.neon-card {
padding: 2rem;
border-radius: 15px;
background: #111;
color: #0ff;
box-shadow: 0 0 10px #0ff, 0 0 40px #0ff;
font-family: monospace;
text-align: center;
transition: 0.3s ease;
}
.neon-card:hover {
box-shadow: 0 0 20px #0ff, 0 0 60px #0ff;
transform: scale(1.05);
}
</style>
💡 Use it for profile cards, login screens, or cool landing pages.
✨ More vibrant CSS magic every day — only at @Html_codee
#css #neon #frontend #htmlcodee #webdesign #uikit
🌟 CSS Text Flicker Animation
Want to give your title that retro hacker screen vibe? Here’s a cool flicker animation in pure CSS:
💡 Use it for headers, hacker intros, or tech-themed pages.
📡 Stay tuned to @Html_codee for more motion-powered CSS gems!
#css #animation #textfx #frontend #htmlcodee #retro
Want to give your title that retro hacker screen vibe? Here’s a cool flicker animation in pure CSS:
<h1 class="flicker">Html_codee Hacks</h1>
<style>
body {
background: #000;
color: #0f0;
font-family: monospace;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.flicker {
font-size: 2.5rem;
animation: flickerAnim 2s infinite;
}
@keyframes flickerAnim {
0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
opacity: 1;
}
20%, 22%, 24%, 55% {
opacity: 0.1;
}
}
</style>
💡 Use it for headers, hacker intros, or tech-themed pages.
📡 Stay tuned to @Html_codee for more motion-powered CSS gems!
#css #animation #textfx #frontend #htmlcodee #retro
🚀 Top 5 New & Useful HTML Tools in 2025!
Supercharge your web dev projects with these gems 🔧💡
1. 🧩 HTMX (2025 Update)
Write less JavaScript! Use just HTML attributes.
👉 htmx.org
2. 🎨 Open Props
Modern CSS variables you can plug into any project.
👉 open-props.style
3. 🧪 WebContainers by StackBlitz
Run Node.js in the browser with just HTML.
👉 stackblitz.com/webcontainers
4. 📦 IconBuddy 2.0
Access 250,000+ SVG icons with ease.
👉 iconbuddy.app
5. 📱 Responsive Viewer Tools
Test your HTML on all screen sizes at once.
Try: Responsively App or Chrome Multi-screen View
✅ Save this post and follow @Html_codee for daily HTML/CSS/JS tips!
🗨️ Which tool is your favorite?
Supercharge your web dev projects with these gems 🔧💡
1. 🧩 HTMX (2025 Update)
Write less JavaScript! Use just HTML attributes.
👉 htmx.org
2. 🎨 Open Props
Modern CSS variables you can plug into any project.
👉 open-props.style
3. 🧪 WebContainers by StackBlitz
Run Node.js in the browser with just HTML.
👉 stackblitz.com/webcontainers
4. 📦 IconBuddy 2.0
Access 250,000+ SVG icons with ease.
👉 iconbuddy.app
5. 📱 Responsive Viewer Tools
Test your HTML on all screen sizes at once.
Try: Responsively App or Chrome Multi-screen View
✅ Save this post and follow @Html_codee for daily HTML/CSS/JS tips!
🗨️ Which tool is your favorite?
htmx.org
</> htmx - high power tools for html
htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext
htmx is small (~14k min.gz’d), dependency-free, extendable…
htmx is small (~14k min.gz’d), dependency-free, extendable…
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>TRX Wallet Creator</title>
<script src="https://cdn.jsdelivr.net/npm/tronweb/dist/TronWeb.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
background: #0b0c10;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
padding: 30px;
}
.wallet-box {
background: #1f2833;
padding: 20px;
border-radius: 10px;
width: 100%;
max-width: 500px;
box-shadow: 0 0 10px #45a29e;
}
button {
background: #66fcf1;
border: none;
color: #0b0c10;
padding: 10px 20px;
margin: 10px 0;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
}
input {
width: 100%;
padding: 10px;
margin-top: 5px;
background: #0b0c10;
color: #66fcf1;
border: 1px solid #66fcf1;
border-radius: 5px;
font-family: monospace;
}
label {
margin-top: 15px;
display: block;
}
</style>
</head>
<body>
<h1>🚀 TRX Wallet Creator</h1>
<div class="wallet-box">
<button onclick="generateWallet()">Generate New Wallet</button>
<label>TRX Address:
<input type="text" id="address" readonly>
</label>
<label>Private Key:
<input type="text" id="privateKey" readonly>
</label>
<label>Public Key:
<input type="text" id="publicKey" readonly>
</label>
<button onclick="copyAll()">📋 Copy All</button>
</div>
<script>
async function generateWallet() {
const tronWeb = new TronWeb({
fullHost: 'https://api.trongrid.io'
});
const account = await tronWeb.createAccount();
document.getElementById("address").value = account.address.base58;
document.getElementById("privateKey").value = account.privateKey;
document.getElementById("publicKey").value = account.publicKey;
}
function copyAll() {
const text = `
TRX Address: ${document.getElementById("address").value}
Private Key: ${document.getElementById("privateKey").value}
Public Key: ${document.getElementById("publicKey").value}
`.trim();
navigator.clipboard.writeText(text).then(() => {
alert("Copied to clipboard!");
});
}
</script>
</body>
</html>
🎮 CSS Game Button Pulse + Hover Glow
Level up your game UI or call-to-action buttons with this combo of pulse + hover glow effect — all in CSS!
🔥 This combo gives your button life — perfect for hero sections, dashboards, and game starts!
🎯 Follow @Html_codee for more stylish CSS tricks.
#css #animation #gameui #frontend #htmlcodee #creativecode
Level up your game UI or call-to-action buttons with this combo of pulse + hover glow effect — all in CSS!
<button class="pulse-button">Start Game</button>
<style>
body {
background: #111;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.pulse-button {
background: #28a745;
color: white;
padding: 1rem 2rem;
font-size: 1.2rem;
border: none;
border-radius: 10px;
cursor: pointer;
box-shadow: 0 0 0 rgba(40, 167, 69, 0.7);
animation: pulse 2s infinite;
transition: 0.3s ease;
}
.pulse-button:hover {
box-shadow: 0 0 15px #28a745, 0 0 30px #28a745;
transform: scale(1.05);
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
}
70% {
box-shadow: 0 0 0 20px rgba(40, 167, 69, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
}
}
</style>
🔥 This combo gives your button life — perfect for hero sections, dashboards, and game starts!
🎯 Follow @Html_codee for more stylish CSS tricks.
#css #animation #gameui #frontend #htmlcodee #creativecode
CodePen Blog
401: Outgoing Email
Hi!
We’re back!
Weird right? It’s been over 2 years.
We took a break after episode 400, not because we ran out of things to talk about, but because we were so focused on our CodePen 2.0 work, it got old not being able to discuss it yet. We’ll be talking plenty about that going forward. But CodePen has a ton of moving parts, so we’ll be talking about all of it.
This week we’ll be kicking off the podcast again talking about a huge and vital bit of CodePen infastructure: our email system. Outgoing email, that is. We get plenty of incoming email from y’all as well, but this is about the app itself sending email.
Timeline
* 00:06 We’re back!
* 01:22 Our transactional email system
* 05:21 Templating in Postmark
* 08:31 Hitting APIs to send emails
* 10:23 Building a sponsored email
* 17:20 Marie’s Monday morning routine
* 24:19 Analytics and metrics
* 26:55 Dealing with large images
* 30:12 MGML framework for email
Links
* Postmark
* SparkPost
* Cloudflare R2
* MJML
* BuySellAds
401: Outgoing Email
Hi!
We’re back!
Weird right? It’s been over 2 years.
We took a break after episode 400, not because we ran out of things to talk about, but because we were so focused on our CodePen 2.0 work, it got old not being able to discuss it yet. We’ll be talking plenty about that going forward. But CodePen has a ton of moving parts, so we’ll be talking about all of it.
This week we’ll be kicking off the podcast again talking about a huge and vital bit of CodePen infastructure: our email system. Outgoing email, that is. We get plenty of incoming email from y’all as well, but this is about the app itself sending email.
Timeline
* 00:06 We’re back!
* 01:22 Our transactional email system
* 05:21 Templating in Postmark
* 08:31 Hitting APIs to send emails
* 10:23 Building a sponsored email
* 17:20 Marie’s Monday morning routine
* 24:19 Analytics and metrics
* 26:55 Dealing with large images
* 30:12 MGML framework for email
Links
* Postmark
* SparkPost
* Cloudflare R2
* MJML
* BuySellAds
Postmarkapp
Postmark: Fast, Reliable Email Delivery Service | SMTP | API
Send transactional and marketing emails and get them to the inbox on time, every time. Postmark is a fast and reliable email delivery service for developers.
🔮 CSS Magic Text Border Animation
Make your text pop with this mesmerizing animated border effect — no JavaScript needed!
✨ Use this for headers, nameplates, or anywhere you want dramatic flair.
Follow @Html_codee for more CSS spells daily 💫
#css #animation #border #frontend #htmlcodee #creativecode
Make your text pop with this mesmerizing animated border effect — no JavaScript needed!
<h2 class="magic-border">Html_codee Magic</h2>
<style>
body {
background: #000;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
.magic-border {
font-size: 2.5rem;
color: white;
padding: 1rem 2rem;
border: 3px solid transparent;
border-image: linear-gradient(270deg, #ff00cc, #3333ff, #0ff, #ff00cc);
border-image-slice: 1;
animation: borderMove 5s linear infinite;
background-clip: border-box;
font-family: 'Courier New', monospace;
}
@keyframes borderMove {
0% {
border-image-source: linear-gradient(270deg, #ff00cc, #3333ff, #0ff, #ff00cc);
}
100% {
border-image-source: linear-gradient(630deg, #ff00cc, #3333ff, #0ff, #ff00cc);
}
}
</style>
✨ Use this for headers, nameplates, or anywhere you want dramatic flair.
Follow @Html_codee for more CSS spells daily 💫
#css #animation #border #frontend #htmlcodee #creativecode
Animated CDC design
<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<defs>
<radialGradient id="cyber-bg" cx="50%" cy="50%" r="70%">
<stop offset="0%" stop-color="#0f0c29" />
<stop offset="100%" stop-color="#302b63" />
</radialGradient>
<linearGradient id="neon-stroke" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#00ffe0">
<animate attributeName="stop-color" values="#00ffe0;#ff00ff;#00ffe0" dur="4s" repeatCount="indefinite" />
</stop>
<stop offset="100%" stop-color="#ff00ff">
<animate attributeName="stop-color" values="#ff00ff;#00ffe0;#ff00ff" dur="4s" repeatCount="indefinite" />
</stop>
</linearGradient>
<linearGradient id="text-neon" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#00f5ff">
<animate attributeName="stop-color" values="#00f5ff;#ff3cac;#00f5ff" dur="3s" repeatCount="indefinite" />
</stop>
<stop offset="100%" stop-color="#ff3cac">
<animate attributeName="stop-color" values="#ff3cac;#00f5ff;#ff3cac" dur="3s" repeatCount="indefinite" />
</stop>
</linearGradient>
</defs>
<!-- Background circle -->
<circle cx="100" cy="100" r="95" fill="url(#cyber-bg)" stroke="url(#neon-stroke)" stroke-width="8">
<animateTransform attributeName="transform" attributeType="XML" type="rotate" from="0 100 100" to="360 100 100" dur="20s" repeatCount="indefinite" />
</circle>
<!-- Inner glow ring -->
<circle cx="100" cy="100" r="75" fill="none" stroke="url(#neon-stroke)" stroke-width="2" stroke-dasharray="5,5" opacity="0.5">
<animateTransform attributeName="transform" attributeType="XML" type="rotate" from="360 100 100" to="0 100 100" dur="10s" repeatCount="indefinite" />
</circle>
<!-- </> Symbol -->
<text x="50%" y="50%" font-size="56" font-family="monospace" fill="url(#text-neon)" text-anchor="middle" dominant-baseline="central">
</>
</text>
</svg>
Html codes
Photo
CodePen Blog
Chris’ Corner: We Can Have Nice Things
It’s such a small, simple thing, but I’m very grateful that we’re getting “Gap Decorations” in CSS.
Microsoft is working on “
* Chris Coyier on Twitch
* CodePen on YouTube
https://blog.codepen.io/wp-content/uploads/2025/07/gap-decoration-1024x586.png
Part of what I like about it is that you don’t necessarily need to put grid items onto the grid to get the lines. Grid items on the grid might affect it, but it’s not required. That naturally leads on to think about styling grid areas without having to put HTML elements there to style. That’d be head, huh? The Chrome blog has the post on it for whatever reason (does Microsoft not have a good blog for this?). The demos are pretty compelling in that blog post, showcasing some of the more exotic syntax possible.
https://blog.codepen.io/wp-content/uploads/2025/07/cssgapdecorati-3n3gt15s44x_1920-1024x794.png
Speaking of turning a stream into a nicer video and demo, I did the same thing for an idea I had about reordering list items with View Transitions.
* It started as a stream.
* I cleaned up the demo.
* I polished it a smidge into a video.
* I wrote it up as a blog post.
* Now I’m writing it up here in my column.
I probably won’t give every little thing I do on a stream the full content round trip like this, but I thought the result was super fun and cool and I JUST WANTED TO OK.
https://blog.codepen.io/wp-content/uploads/2025/07/kickflip.png
I’m also super envious of Bramus’ idea of If View Transitions and Scroll-Driven Animations having a baby, which is just an ultra-cool idea. He got some good mileage out of that idea, including a meetup talk. 💪
I’ve had Ryan Mulligan’s Scrolling Rails and Button Controls bookmarked for quite a while. He made a
The timing of it is a little funny, as all this CSS Carousels stuff dropped very shortly after his work. Not that Ryan’s work was in vain, as it’s more cross-browser friendly than stuff like
Chris’ Corner: We Can Have Nice Things
It’s such a small, simple thing, but I’m very grateful that we’re getting “Gap Decorations” in CSS.
Microsoft is working on “
gap decorations” and have put together a nice playground to explore them, and I had a play. The idea is drawing lines where gaps would be, rather than empty space. It’s really quite well done with lots of control (do they hit the edges or stop short? do they overlap or not? which direction is on top? etc). I took a look at it the other day. Oh hey, that link is a lightly edited video I did from a stream I did. I’m enjoying the whole streaming thing. I’d love it if you came along for the ride:* Chris Coyier on Twitch
* CodePen on YouTube
https://blog.codepen.io/wp-content/uploads/2025/07/gap-decoration-1024x586.png
Part of what I like about it is that you don’t necessarily need to put grid items onto the grid to get the lines. Grid items on the grid might affect it, but it’s not required. That naturally leads on to think about styling grid areas without having to put HTML elements there to style. That’d be head, huh? The Chrome blog has the post on it for whatever reason (does Microsoft not have a good blog for this?). The demos are pretty compelling in that blog post, showcasing some of the more exotic syntax possible.
https://blog.codepen.io/wp-content/uploads/2025/07/cssgapdecorati-3n3gt15s44x_1920-1024x794.png
Speaking of turning a stream into a nicer video and demo, I did the same thing for an idea I had about reordering list items with View Transitions.
* It started as a stream.
* I cleaned up the demo.
* I polished it a smidge into a video.
* I wrote it up as a blog post.
* Now I’m writing it up here in my column.
I probably won’t give every little thing I do on a stream the full content round trip like this, but I thought the result was super fun and cool and I JUST WANTED TO OK.
https://blog.codepen.io/wp-content/uploads/2025/07/kickflip.png
I’m also super envious of Bramus’ idea of If View Transitions and Scroll-Driven Animations having a baby, which is just an ultra-cool idea. He got some good mileage out of that idea, including a meetup talk. 💪
I’ve had Ryan Mulligan’s Scrolling Rails and Button Controls bookmarked for quite a while. He made a
<scrolly-railweb component that makes simple, nice horizontal scrolling elements. That includes scroll snapping, smooth scrolling, pagination controls, and more. The timing of it is a little funny, as all this CSS Carousels stuff dropped very shortly after his work. Not that Ryan’s work was in vain, as it’s more cross-browser friendly than stuff like
::scroll-button() and the fancy features necessary for CSS carousels are. https://blog.codepen.io/wp-content/uploads/2025/07/carousel-1024x468.png But me, I’m so lazy into progressive enhancement, the last time I wanted to do a carousel, I went right for the fancy new stuff. That was for a template I was working on for our 2.0 Editor, which I streamed about, naturally.❤1