Transparent background
Transparent background with affecting text
Here we show how to convert our background color properties from transparent to opaque with
affecting text it is called opacity and we can change our opacity value from background section. Opacity values raise between 0 to 1.
<html>
<head>
<title>CSS BOX</title>
<style>
.a
{
background-color:rgba(100,150,200,0.5);
height:400px;
weight:100%;
color:blue;
}
</style>
</head>
<body>
<div class="a">Hyper Text Mark Up
Language</div>
</body>
<html>
Here we show how to convert our background color properties from transparent to opaque with
affecting text it is called opacity and we can change our opacity value from background section. Opacity values raise between 0 to 1.
<html>
<head>
<title>CSS BOX</title>
<style>
.a
{
background-color:rgba(100,150,200,0.5);
height:400px;
weight:100%;
color:blue;
}
</style>
</head>
<body>
<div class="a">Hyper Text Mark Up
Language</div>
</body>
<html>
Comments
Post a Comment