Showing posts with label How to Create a Split Screen. Show all posts
Showing posts with label How to Create a Split Screen. Show all posts

Monday, May 29, 2023

How to create a Split screen with css

Two background color  with one page in html and css use


Program

<html>

<head>

<title>two color one page</title>

<style>

.color{

background-color:pink;

width:60%;

height:420px;

float:right;

}

.color1

{

background-color:skyblue;

<!-select  your color -->

width:40%;

height:420px;

}

</style></head>

<body>

<h1>Two color with one page</h1>

<div class="color"><br><br>

</div>

<div class="color1">

</div>

</body></html>


OUTPUT

two color in one page using html and css

visit link


html and css use to create easy webpage html

css border bottom property

css background propertie