
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Achieve Glow Effect with CSS Filters
The glow effect is used to create a glow around the object. If it is a transparent image, then glow is created around the opaque pixels of it.
The following parameters can be used in this filter −
S.no |
Parameter & Description |
---|---|
1. |
Color The color you want the glow to be. |
2. |
Strength The intensity of the glow (from 1 to 255). |
Example
You can try to run the following code to create a glow around the object −
<html> <head> </head> <body> <img src="/https/www.tutorialspoint.com/css/images/logo.png" alt="CSS Logo" style="Filter: Chroma(Color = #000000) Glow(Color=#00FF00, Strength=20)"> <p>Text Example:</p> <div style="width: 357; height: 50; font-size: 30pt; font-family: Arial Black; color: red; Filter: Glow(Color=#00FF00, Strength=20)">CSS Tutorials</div> </body> </html>
Advertisements