Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 13:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Nur Background Color vom Text Transparent?

Discussion on Nur Background Color vom Text Transparent? within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
Klérâd²'s Avatar
 
elite*gold: 83
Join Date: Jan 2010
Posts: 640
Received Thanks: 254
Nur Background Color vom Text Transparent?

Heyho,
Lerne gerade CSS n bissl besser, Grundlagen etc kenn ich alle und schreibe auch schon fleissig, hab nur derzeit ein Problem, habe einen relativ hellen Hintergrund vom Header, der ebenfalls relativ gross ist weil dort Titel und ein etwas längerer Untertitel drinnen steht. Möchte gerne einen halb Transparenten Hintergrund von der Background Color des Textes haben.

Im Spoiler befindet sich ein Beispiel Bild, hoffe es findet sich wer der helfen kann

Klérâd² is offline  
Old 08/30/2018, 22:14   #2
 
Mad0ck's Avatar
 
elite*gold: 313
Join Date: Oct 2014
Posts: 1,367
Received Thanks: 284
schonmal mit " opacity: x.x; versucht " ?

lg
Mad0ck is offline  
Old 08/30/2018, 22:21   #3
 
Klérâd²'s Avatar
 
elite*gold: 83
Join Date: Jan 2010
Posts: 640
Received Thanks: 254
Quote:
Originally Posted by Mad0ck View Post
schonmal mit " opacity: x.x; versucht " ?

lg
Problem besteht darin das der Text auch Transparent wird, mächte ja nur den Text Background Transparent machen können :/
Klérâd² is offline  
Old 08/30/2018, 22:30   #4


 
False's Avatar
 
elite*gold: 0
The Black Market: 243/0/0
Join Date: Apr 2011
Posts: 11,115
Received Thanks: 2,436
Quote:
Originally Posted by Klérâd² View Post
Problem besteht darin das der Text auch Transparent wird, mächte ja nur den Text Background Transparent machen können :/
Richtig, opacity ändert die Sichtbarkeit für das gesamte Element.
nutz einfach anstatt dem hex color code (oder rgb) einfach rgba.
Das a steht für Alpha sprich die Sichtbarkeit (von 0 bis 1).
Kurzes Beispiel findest du hier
False is offline  
Thanks
1 User
Old 08/30/2018, 22:38   #5
 
Mad0ck's Avatar
 
elite*gold: 313
Join Date: Oct 2014
Posts: 1,367
Received Thanks: 284
Quote:
Originally Posted by Klérâd² View Post
Problem besteht darin das der Text auch Transparent wird, mächte ja nur den Text Background Transparent machen können :/
Dann hab ich wohl dein Anliegen nicht verstanden.
My fault aber .false hat dir ja bereits weitergeholfen *~*
Mad0ck is offline  
Thanks
1 User
Old 10/08/2018, 17:45   #6
 
elite*gold: 0
Join Date: Feb 2012
Posts: 2
Received Thanks: 0
Es ist sinvoller wenn du mit RGBA Arbeiten tust weil da wird nur der hintergrund in der transparent betroffen bsp liegt bei

body{

background-color: rgba(255, 0, 0, 0.3);



}


ich hoffe du ahst schon mit rgb gearbeitet
Seveee71 is offline  
Reply


Similar Threads Similar Threads
VB.NET Picturebox Color Transparent Key
06/04/2011 - .NET Languages - 1 Replies
Deleted
VB.NET Picturebox Color Transparent Key
06/02/2011 - Off Topic - 2 Replies
Deleted
WoW Color Hack (Use color-codes in text)
09/23/2007 - WoW Exploits, Hacks, Tools & Macros - 31 Replies
WoWColorHack.flt -=Preamble=- I'm quite surprised that no one has released anything similar yet - the theory behind this dates back to the alpha days. Hell, I first used this filter on my own alpha sandbox. -=Theory=-



All times are GMT +1. The time now is 13:20.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.