The <hr> tag in HTML is used for
Anonymous Quiz
0%
Vertical ruler
100%
Horizontal ruler
0%
New line
0%
New paragragh
CodePen Blog
Chris’ Corner: CSS Deep Cuts
Sometimes we gotta get into the unglamorous parts of CSS. I mean *I* think they are pretty glamorous: new syntax, new ideas, new code doing foundational and important things. I just mean things that don’t demo terribly well. Nothing is flying across the screen, anyway.
* The Future of CSS: Construct <custom-identand <dashed-identvalues with ident() by Bramus Van Damme — When you go
* Beating !important user agent styles (sort of) by Noah Liebman — Using
* Here’s Why Your Anchor Positioning Isn’t Working by James Stuckey Weber — There is a whole host of reasons why including DOM positioning and order. If you ask Una she’ll say it’s probably the
* Faux Containers in CSS Grids by Tyler Sticka — Elements that stick out of their “container” is a visually compelling look. A classic way to do it is with negative margins and absolute positioning and the like. But those things are a smidge “dangerous” in that they can cause overlaps and unexpected behavior due to being out of regular flow. I like Tyler’s idea here of keeping it all contained to a grid and just making it look like it’s breaking out.
* Introducing @bramus/style-observer, a MutationObserver for CSS by Bramus Van Damme — A regular
* Using the upcoming CSS when/else rules by Christiana Uloma — There is a working draft spec for @when/@else so while these aren’t real right now, maybe they will be? The if() function seems more real and maybe that is enough here? The
Chris’ Corner: CSS Deep Cuts
Sometimes we gotta get into the unglamorous parts of CSS. I mean *I* think they are pretty glamorous: new syntax, new ideas, new code doing foundational and important things. I just mean things that don’t demo terribly well. Nothing is flying across the screen, anyway.
* The Future of CSS: Construct <custom-identand <dashed-identvalues with ident() by Bramus Van Damme — When you go
anchor-name: --name; the --name part is a custom property, right? No. It is a “custom ident”. It doesn’t have a value, it’s just a name. Things get more interesting with ident() as a function, which can help us craft them from other attributes and custom properties, making for much less repetitive code in some situations.* Beating !important user agent styles (sort of) by Noah Liebman — Using
!important is a pretty hardcore way for a rule to apply, made even more hardcore when used by a low level stylesheet, of which user agent styles are the lowest. So is it even possible to beat a style set that way? Click to find out.* Here’s Why Your Anchor Positioning Isn’t Working by James Stuckey Weber — There is a whole host of reasons why including DOM positioning and order. If you ask Una she’ll say it’s probably the
inset property. * Faux Containers in CSS Grids by Tyler Sticka — Elements that stick out of their “container” is a visually compelling look. A classic way to do it is with negative margins and absolute positioning and the like. But those things are a smidge “dangerous” in that they can cause overlaps and unexpected behavior due to being out of regular flow. I like Tyler’s idea here of keeping it all contained to a grid and just making it look like it’s breaking out.
* Introducing @bramus/style-observer, a MutationObserver for CSS by Bramus Van Damme — A regular
MutationObserver watches the DOM for changes. But not style changes. Bramus has created a version of it that does, thanks to a very newfangled CSS property that helps it work efficiently. I’m not overflowing with use case ideas, but I have a feeling that when you need it, you need it. * Using the upcoming CSS when/else rules by Christiana Uloma — There is a working draft spec for @when/@else so while these aren’t real right now, maybe they will be? The if() function seems more real and maybe that is enough here? The
if() function would just be a value though not a whole block of stuff, so maybe we’ll get both.Bram.us
The Future of CSS: Construct <custom-ident> and <dashed-ident> values with ident()
Uniquely name a bunch elements in CSS in one go! Instead of assigning 100 unique names through 100 declarations, write only 1 and use ident() to construct the names.
AI Breath Rate Tracker uses real-time input and smart algorithms to monitor and visualize your breathing pattern directly in the browser. Built with JavaScript and intuitive UI design, this project combines wellness with tech — ideal for mindfulness apps, health monitoring tools, or creative biofeedback demos.
Code
Code
For creating a slider in HTML form, Which input type is used
Anonymous Quiz
60%
Text
0%
Select
40%
Textarea
0%
Range
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Neon Button</title>
<style>
body {
background: #0f0f0f;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.neon-btn {
position: relative;
padding: 15px 40px;
color: #fff;
background: transparent;
border: 2px solid #0ff;
font-size: 18px;
font-family: sans-serif;
text-transform: uppercase;
letter-spacing: 2px;
cursor: pointer;
overflow: hidden;
transition: 0.3s;
}
.neon-btn::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(120deg, transparent, #0ff, transparent);
transform: rotate(25deg);
opacity: 0;
transition: 0.5s;
}
.neon-btn:hover::before {
top: 0;
left: 0;
opacity: 1;
}
.neon-btn:hover {
color: #0ff;
box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}
</style>
</head>
<body>
<button class="neon-btn">Click Me</button>
</body>
</html>
👍2
Next.js vs Vue.js — Which One Should You Use?
Both are modern, powerful tools — but they shine in different areas.
Next.js (React-based)
Built on React
Optimized for SEO (Server-Side Rendering)
File-based routing
Great for static & dynamic sites
Ideal for large-scale apps
Backed by Vercel
Vue.js
Easier to learn than React
Uses Composition API or Options API
Clean Single File Components
Fast builds with Vite
Perfect for SPAs, dashboards, and mid-size projects
When to use Next.js?
You need SEO, scalability, or enterprise-level features.
When to use Vue.js?
You want flexibility, simplicity, and a smooth developer experience.
Which one do YOU prefer?
➡️ Reply: Next or Vue
Both are modern, powerful tools — but they shine in different areas.
Next.js (React-based)
Built on React
Optimized for SEO (Server-Side Rendering)
File-based routing
Great for static & dynamic sites
Ideal for large-scale apps
Backed by Vercel
Vue.js
Easier to learn than React
Uses Composition API or Options API
Clean Single File Components
Fast builds with Vite
Perfect for SPAs, dashboards, and mid-size projects
When to use Next.js?
You need SEO, scalability, or enterprise-level features.
When to use Vue.js?
You want flexibility, simplicity, and a smooth developer experience.
Which one do YOU prefer?
➡️ Reply: Next or Vue
Hello subscribers
How are you doing today
How are web app projects interesting for you?
How are you doing today
How are web app projects interesting for you?