📚 New Code
🔖 Features:
✅ Glowing Neon Effect
✅ Smooth Color Transition
✅ Customizable Text & Colors
✅ Pure CSS Animation
🔖 Code:
🔥 Experience the magic!
Subscribe to @Html_codee for more amazing web effects! 🚀
🔖 Features:
✅ Glowing Neon Effect
✅ Smooth Color Transition
✅ Customizable Text & Colors
✅ Pure CSS Animation
🔖 Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Glowing Text Effect</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: black;
overflow: hidden;
}
h1 {
font-size: 4rem;
font-weight: bold;
color: #fff;
text-transform: uppercase;
position: relative;
animation: glow 3s infinite alternate;
}
@keyframes glow {
0% {
text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 40px #ff4500;
}
50% {
text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 40px #00ff99;
}
100% {
text-shadow: 0 0 10px #0000ff, 0 0 20px #0000ff, 0 0 40px #0099ff;
}
}
</style>
</head>
<body>
<h1>Html_codee</h1>
</body>
</html>
🔥 Experience the magic!
Subscribe to @Html_codee for more amazing web effects! 🚀
Which tag is used to create a list with bullets?
Anonymous Quiz
40%
<ul>
40%
<ol>
20%
<li>
0%
<list>
👍2
Wrote this code last night like a genius…
Reading it today like: 'Who wrote this garbage?'
#ProgrammerLife #CodeStruggles #Relatable
Reading it today like: 'Who wrote this garbage?'
#ProgrammerLife #CodeStruggles #Relatable
When it comes to using colors in code, there are several contexts in which you might need to define or manipulate colors. Below are a few common areas where colors are often utilized:
📚 1. HTML/CSS Colors
In web development, you can use colors in your CSS styles. Colors can be defined in multiple formats:
⦁ Hexadecimal:
⦁ RGB:
⦁ HSL:
⦁ Named colors:
📚 2. Python (using matplotlib)
In Python, you can define colors using libraries like
📚 3. Java (using AWT/Swing)
In Java, you can create colors using the
📚 4. JavaScript
In JavaScript, you can manipulate the DOM or draw on a canvas with colors.
📚 5. Color Libraries
⦁ Python: Libraries like
⦁ JavaScript:
📚 6. Color Converters
Using libraries can also help you manipulate colors:
⦁ Python Example: Using
⦁ JavaScript Example: Using
📚 7. Attribute Colors in UI Frameworks
⦁ React Native allows you to set color properties on components:
📚 1. HTML/CSS Colors
In web development, you can use colors in your CSS styles. Colors can be defined in multiple formats:
⦁ Hexadecimal:
#RRGGBB .example {
background-color: #FF5733; /* bright red */
}
⦁ RGB:
rgb(R, G, B) .example {
color: rgb(255, 87, 51); /* bright red */
}
⦁ HSL:
hsl(H, S%, L%) .example {
border-color: hsl(12, 100%, 60%); /* bright red */
}
⦁ Named colors:
.example {
color: red; /* named color */
}
📚 2. Python (using matplotlib)
In Python, you can define colors using libraries like
matplotlib.import matplotlib.pyplot as plt
# Using RGB tuples
plt.plot([1, 2, 3], [1, 4, 9], color=(1, 0, 0)) # Red
# Using named colors
plt.plot([1, 2, 3], [1, 2, 3], color='blue') # Blue
plt.show()
📚 3. Java (using AWT/Swing)
In Java, you can create colors using the
Color class.import java.awt.Color;
Color red = new Color(255, 0, 0); // RGB
Color blue = Color.BLUE; // Named constant
📚 4. JavaScript
In JavaScript, you can manipulate the DOM or draw on a canvas with colors.
// Changing the background color of an element
document.body.style.backgroundColor = "#FF5733";
// Canvas example
const canvas = document.getElementById('myCanvas');
const context = canvas.getContext('2d');
context.fillStyle = 'rgba(255, 87, 51, 0.5)'; // RGBA
context.fillRect(10, 10, 150, 100);
📚 5. Color Libraries
⦁ Python: Libraries like
Pillow for image processing allows colors to be defined in different formats.⦁ JavaScript:
Chroma.js or Color.js libraries allow for advanced color manipulations.📚 6. Color Converters
Using libraries can also help you manipulate colors:
⦁ Python Example: Using
colorsysimport colorsys
# Convert RGB to HLS
r, g, b = 1.0, 0.5, 0.0 # example RGB
h, l, s = colorsys.rgb_to_hls(r, g, b)
⦁ JavaScript Example: Using
TinyColor const color = tinycolor("red");
console.log(color.toHexString()); // Outputs #ff0000
📚 7. Attribute Colors in UI Frameworks
⦁ React Native allows you to set color properties on components:
<View style={{ backgroundColor: 'skyblue' }} />CodePen Blog
Chris’ Corner: 10 HTML Hits
Love HTML? Good. It’s very lovable. One of my favorite parts is how you can screw it all up and it still it’s absolute best to render how it thinks you meant. Not a lot of other languages like that. Are there any? English, I suppose lolz. Anyway — I figured I’d just share 10 links about HTML that I’ve save because, well, I personally thought there were interesting and enjoyed learning what they had to teach.
1. The selected date must be within the last 10 years by Gerardo Rodriguez — That’s the requirement. How do you do it? Definitely use the HTML validation features for the date input. But unfortunately, JavaScript will need to be involved to set them, which means timezones and all that.
2. Just because you can doesn’t mean you should: the element by Sophie Koonin — I think the HTML
3. Fine-tuning Text Inputs by Garrett Dimon — One of those articles that reminds you that there are actually quite a few bonus attributes for HTML inputs and they are all actually pretty useful and you should consider using them.
4. How to think about HTML responsive images by Dan Cătălin Burzo — Speaking of loads of fairly complex attributes, it’s hard to beat responsive images in that regard. Always interesting to read something thinking through it all. This always leads me to the conclusion that it absolutely needs to be automated.
5. Styling an HTML dialog modal to take the full height of the viewport by Simon Willison — Sometimes unexpected browser styles can bite you. DevTools help uncover that of course… if you can see them. I was once very confused about weird behaving dialogs when I set it to be
6. Foundations: grouping forms with and by Demelza Feltham — “Accessible grouping benefits everyone”. Let’s clean up the weird styling of fieldset while we’re at it.
7. HTML Whitespace is Broken by Douglas Parker — I think a lot of us have a developed intuition of how HTML uses or ignores whitespace, but Douglas manages to point out some real oddities I hadn’t thought of clearly defining before. Like if there is a space both before and after a , the space will collapse, but with the single space be part of the link or not? Formatters struggle with this as their formatting can introduce output changes. It’s one reason I like JSX because it’s ultra opinionated on formatting and how spacing is handled.
8. A highly configurable switch component using modern CSS techniques by Andy Bell — We’ve got coming (it’s in Safari now), but if you can’t wait you can build your own, as long as you are careful.
9. Building a progress-indicating scroll-to-top button in HTML and CSS by Manuel Matuzović — I like that trick where you can use scroll-driven animations to only reveal a “scroll back to the top” button after you’ve scrolled down a bit. I also like Manuel’s idea here where the button itself fills up as you scroll down. I generally don’t care for scroll progress indicators, but this is so subtle it’s cool.
10. Test-driven HTML and accessibility by David Luhr — I’ve written Cypress tests before and this echos of that but feels kinda lower level. It’s interesting looking at Server JavaScript executing DOM JavaScript with
Chris’ Corner: 10 HTML Hits
Love HTML? Good. It’s very lovable. One of my favorite parts is how you can screw it all up and it still it’s absolute best to render how it thinks you meant. Not a lot of other languages like that. Are there any? English, I suppose lolz. Anyway — I figured I’d just share 10 links about HTML that I’ve save because, well, I personally thought there were interesting and enjoyed learning what they had to teach.
1. The selected date must be within the last 10 years by Gerardo Rodriguez — That’s the requirement. How do you do it? Definitely use the HTML validation features for the date input. But unfortunately, JavaScript will need to be involved to set them, which means timezones and all that.
2. Just because you can doesn’t mean you should: the element by Sophie Koonin — I think the HTML
Heat the oven to 350 degrees is hilarious(ly silly). As Sophie puts it, this is the “letter, not the spirit, of semantic HTML.”3. Fine-tuning Text Inputs by Garrett Dimon — One of those articles that reminds you that there are actually quite a few bonus attributes for HTML inputs and they are all actually pretty useful and you should consider using them.
4. How to think about HTML responsive images by Dan Cătălin Burzo — Speaking of loads of fairly complex attributes, it’s hard to beat responsive images in that regard. Always interesting to read something thinking through it all. This always leads me to the conclusion that it absolutely needs to be automated.
5. Styling an HTML dialog modal to take the full height of the viewport by Simon Willison — Sometimes unexpected browser styles can bite you. DevTools help uncover that of course… if you can see them. I was once very confused about weird behaving dialogs when I set it to be
position: relative; (they are fixed by browser styles), so watch for that too.6. Foundations: grouping forms with and by Demelza Feltham — “Accessible grouping benefits everyone”. Let’s clean up the weird styling of fieldset while we’re at it.
7. HTML Whitespace is Broken by Douglas Parker — I think a lot of us have a developed intuition of how HTML uses or ignores whitespace, but Douglas manages to point out some real oddities I hadn’t thought of clearly defining before. Like if there is a space both before and after a , the space will collapse, but with the single space be part of the link or not? Formatters struggle with this as their formatting can introduce output changes. It’s one reason I like JSX because it’s ultra opinionated on formatting and how spacing is handled.
8. A highly configurable switch component using modern CSS techniques by Andy Bell — We’ve got coming (it’s in Safari now), but if you can’t wait you can build your own, as long as you are careful.
9. Building a progress-indicating scroll-to-top button in HTML and CSS by Manuel Matuzović — I like that trick where you can use scroll-driven animations to only reveal a “scroll back to the top” button after you’ve scrolled down a bit. I also like Manuel’s idea here where the button itself fills up as you scroll down. I generally don’t care for scroll progress indicators, but this is so subtle it’s cool.
10. Test-driven HTML and accessibility by David Luhr — I’ve written Cypress tests before and this echos of that but feels kinda lower level. It’s interesting looking at Server JavaScript executing DOM JavaScript with
expect tests. I suppose it’s a bit like building your own aXe.Which of the following tags is NOT a semantic HTML element?
Anonymous Quiz
33%
<section>
33%
<article>
33%
<div>
0%
<nav>
Today marks the birthday of one of the greatest leaders in history – Amir Temur (Tamerlane).
Born on April 9, 1336, Amir Temur was a brilliant strategist, a visionary ruler, and the founder of the Timurid Empire. His legacy lives on through the strength, unity, and cultural development he inspired across Central Asia and beyond.
He once said:
"Justice is the foundation of the state."
And his leadership proved just that.
Let us remember his courage, wisdom, and contributions to history.
Happy Birthday, Amir Temur – The Pride of Turkic and Islamic Civilization!
Born on April 9, 1336, Amir Temur was a brilliant strategist, a visionary ruler, and the founder of the Timurid Empire. His legacy lives on through the strength, unity, and cultural development he inspired across Central Asia and beyond.
He once said:
"Justice is the foundation of the state."
And his leadership proved just that.
Let us remember his courage, wisdom, and contributions to history.
Happy Birthday, Amir Temur – The Pride of Turkic and Islamic Civilization!
👍1