I am trying to get my text to glow with the following code, not sure if I have done it correctly for css. Can you look if my css code is correct for h1,h2,h3 (to use .a, .b and .c) and (tittle 1,2 and 3) -
h1, h2, h3, h4, h5, h6 {
-
margin-top: 0;
-
margin-bottom: 0.5rem;
-
}
-
-
h1, h2, h3, h4, h5, h6,
-
.h1, .h2, .h3, .h4, .h5, .h6 {
-
margin-bottom: 0.5rem;
-
font-family: inherit;
-
font-weight: 500;
-
line-height: 1.2;
-
color: inherit;
-
}
-
-
h1, .h1 {
-
font-size: 2.5rem;
-
}
-
-
h2, .h2 {
-
font-size: 2rem;
-
}
-
-
h3, .h3 {
-
font-size: 1.75rem;
-
}
-
-
h4, .h4 {
-
font-size: 1.5rem;
-
}
-
-
h5, .h5 {
-
font-size: 1.25rem;
-
}
-
-
h6, .h6 {
-
font-size: 1rem;
-
}
-
-
h1 .a{ /* use to make text glow in index.php */
-
-
background-image: url("move.gif");
-
background-size: cover;
-
color: transparent;
-
-moz-background-clip: text;
-
-webkit-background-clip: text;
-
text-transform: uppercase;
-
font-size: 80px;
-
margin: 5px 0;
-
}
-
h2 .b { /* use to make text glow in index.php */
-
background-image: url("move.gif");
-
background-size: cover;
-
color: transparent;
-
-moz-background-clip: text;
-
-webkit-background-clip: text;
-
text-transform: uppercase;
-
font-size: 40px;
-
margin: 10px 0;
-
}
-
-
h3 .c { /* use to make text glow in index.php */
-
background-image: url("move.gif");
-
background-size: cover;
-
color: transparent;
-
-moz-background-clip: text;
-
-webkit-background-clip: text;
-
text-transform: uppercase;
-
font-size: 40px;
-
margin: 10px 0;
-
}
-
-
.title3 { /* use to make text glow in index.php */
-
font-family: 'Kanit', sans-serif;
-
text-align: center;
-
color: #FFF;
-
display: flex;
-
flex-direction: column;
-
align-items: center;
-
justify-content: center;
-
height: 10vh;
-
letter-spacing: 1px;
-
line-height:2
-
}
-
my html code -
<div class="row">
-
<div class="col-12 col-sm-6 col-md-5">
-
<div class="info-box">
-
<div class="info-box-content">
-
<h1 class="a" "title1">testing text glow</h1>
-
</div>
-
</div>
-
</div>
-
<div class="col-12 col-sm-6 col-md-5">
-
<div class="info-box mb-3">
-
<div class="info-box-content">
-
<h2 class="b" "title2">1111111111111111111</h2>
-
</div>
-
</div>
-
</div>
-
</div>
-
<div class="col-12 col-sm-6 col-md-4">
-
<div class="info-box mb-3">
-
-
<div class="ms-3">
-
<h3 class="c" "title3">222222222222222222222222</h3>
-
</div>
-
</div>
-
</div>
-
1 11552
I am trying to get my text to glow with the following code, not sure if I have done it correctly for css. Can you look if my css code is correct for h1,h2,h3 (to use .a, .b and .c) and (tittle 1,2 and 3)
What is not working? What is the expected result?
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Cezar |
last post by:
Simple example:
....
<td><a class="abc" href="#"></a></td>
....
..abc{
display:block;
margin:0;
|
by: marslee |
last post by:
I want to change a webpage so that when i move the mouse to certain
area of the page, the info tip tell what the content is about.
It's like moving the mouse in the desktop's my documment, when you...
|
by: Dave Spencer |
last post by:
Around about the time that I upgraded to XP SP2 my MSDN for Visual
Studio.Net 2003 started displaying "no page to display" all the time. I
found a few references to the problem on Google but no...
|
by: Daniel |
last post by:
how to detect who redirects traffic to a aspx page? is this info passed
along in request object or can sites anonymously redirect traffic to other
sites?
|
by: moondaddy |
last post by:
I'm building a page in vb.net with several user controls on it. I'm using
user controls instead of a frames page since I've seen this recommended many
times in this user group. I want just one of...
|
by: morrisdn13 |
last post by:
I have encountered a very strange problem that makes it look like the page
is not recreated in entirety after a postback when I turn on
smartnavigation.
If I click on a server control, the page...
|
by: dennist685 |
last post by:
Walkthrough: Creating a Web Page to Display Access Database Data
I've started the above walkthrough. However, near the beginning it gives
the following instructions
To set permissions in the...
|
by: thejackofall |
last post by:
I can use a good help here with what looks like a simple problem.
I have a control called Header.ascx in /Control/System directory, where / is
my web application directory.
The header is used...
|
by: dlamarche |
last post by:
Hello I am new to PHP and I am reading the book Build you own database driven website using PHP and MySQL. I am trying something on my own as an exercise from the book.
I sucessfully created a...
|
by: shane3341436 |
last post by:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |