Jump to content

transparent border box around text HELP


salino2835

Recommended Posts

how would i put a transparent box around text in wordpress? this is what i have so far:

 

[segment id=blog-header]<h1 style="color:#0068ad;">Blog</h1>

<p style="color:#ffffff;">The only thing we love more than writing is writing about Augmented Reality. Check our blog for the latest updates in AR technology.</p>[/segment]
Link to comment
Share on other sites

What does "transparent" mean?

 

Is it a transparent background, a transparent border or is the entire content of the box transparent?

 

Or by transparent do you mean completely invisible?

Link to comment
Share on other sites

You can use RGBA colors in the background to add transparency to the background color.

 

Be sure to provide an ordinary color code for browsers that don't support RGBA. This color should go before the RGBA color in the stylesheet so that the RGBA color will override it:

background-color: #FFF; /* For browsers that don't support RGBA */background-color: rgba(255, 255, 255, 0.5);
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...