473,401 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Page does not display info correctly with my css code

1
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)
Expand|Select|Wrap|Line Numbers
  1. h1, h2, h3, h4, h5, h6 {
  2.   margin-top: 0;
  3.   margin-bottom: 0.5rem;
  4. }
  5.  
  6. h1, h2, h3, h4, h5, h6,
  7. .h1, .h2, .h3, .h4, .h5, .h6 {
  8.   margin-bottom: 0.5rem;
  9.   font-family: inherit;
  10.   font-weight: 500;
  11.   line-height: 1.2;
  12.   color: inherit;
  13. }
  14.  
  15. h1, .h1 {
  16.   font-size: 2.5rem;
  17. }
  18.  
  19. h2, .h2 {
  20.   font-size: 2rem;
  21. }
  22.  
  23. h3, .h3 {
  24.   font-size: 1.75rem;
  25. }
  26.  
  27. h4, .h4 {
  28.   font-size: 1.5rem;
  29. }
  30.  
  31. h5, .h5 {
  32.   font-size: 1.25rem;
  33. }
  34.  
  35. h6, .h6 {
  36.   font-size: 1rem;
  37. }
  38.  
  39. h1 .a{ /* use to make text glow in index.php */
  40.  
  41.  background-image: url("move.gif");
  42.   background-size: cover;
  43.   color: transparent;
  44.   -moz-background-clip: text;
  45.   -webkit-background-clip: text;
  46.   text-transform: uppercase;
  47.   font-size: 80px;
  48.   margin: 5px 0;   
  49.     }
  50. h2 .b {  /* use to make text glow in index.php */
  51.   background-image: url("move.gif");
  52.   background-size: cover;
  53.   color: transparent;
  54.   -moz-background-clip: text;
  55.   -webkit-background-clip: text;
  56.   text-transform: uppercase;
  57.   font-size: 40px;
  58.   margin: 10px 0;
  59.     }   
  60.  
  61. h3 .c { /* use to make text glow in index.php */
  62.   background-image: url("move.gif");
  63.   background-size: cover;
  64.   color: transparent;
  65.   -moz-background-clip: text;
  66.   -webkit-background-clip: text;
  67.   text-transform: uppercase;
  68.   font-size: 40px;
  69.   margin: 10px 0;
  70.     }       
  71.  
  72. .title3 { /* use to make text glow in index.php */
  73.   font-family:  'Kanit', sans-serif;
  74.   text-align: center;
  75.   color: #FFF;
  76.   display: flex;
  77.   flex-direction: column;
  78.   align-items: center;
  79.   justify-content: center;
  80.   height: 10vh;
  81.   letter-spacing: 1px;
  82.   line-height:2
  83. }
  84.  
my html code

Expand|Select|Wrap|Line Numbers
  1. <div class="row">
  2.         <div class="col-12 col-sm-6 col-md-5">
  3.             <div class="info-box">
  4.                 <div class="info-box-content">
  5.                     <h1 class="a" "title1">testing text glow</h1>
  6.                 </div>
  7.             </div>
  8.         </div>
  9.             <div class="col-12 col-sm-6 col-md-5">
  10.                 <div class="info-box mb-3">
  11.                     <div class="info-box-content">
  12.                         <h2 class="b" "title2">1111111111111111111</h2>
  13.                     </div>
  14.                 </div>
  15.             </div>
  16.     </div>
  17.         <div class="col-12 col-sm-6 col-md-4">
  18.             <div class="info-box mb-3">
  19.  
  20.                 <div class="ms-3">
  21.                     <h3 class="c" "title3">222222222222222222222222</h3>
  22.                 </div>
  23.             </div>
  24.         </div>
  25.  
Sep 16 '22 #1
1 11570
dev7060
636 Expert 512MB
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?
Oct 4 '22 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Cezar | last post by:
Simple example: .... <td><a class="abc" href="#"></a></td> .... ..abc{ display:block; margin:0;
3
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...
1
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...
5
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?
7
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...
7
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...
9
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...
1
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...
3
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...
6
shane3341436
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
0
BarryA
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...
0
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...
0
Oralloy
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,...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.