Search
 
SCRIPT & CODE EXAMPLE
 

HTML

How to add background color in specific region using HTML

<!DOCTYPE html>
<html>
  <head>
    <title>Putting BG color in a specific region</title>

    <style>

    #ABC {
      background-color: blue;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
    }

    body{
      background: grey;
      margin: 0;
    } 

    </style>

  </head>

  <body>

<section id="ABC">


</section>

  </body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: livewire wire loading remove attribute 
Html :: spinner loader bootstrap 
Html :: webview html 
Html :: how to make an ion-label word wrap 
Html :: repeat task multicraft 
Html :: submit form include input type submit 
Html :: take a list that start with a constant number in html 
Html :: how to create a video link in html 
Html :: copy the text html 
Html :: unescape html js 
Html :: questions on html 
Html :: how to run yaml file 
Html :: html range start value 
Html :: tailwind checkmark color 
Html :: how to add a rollover image in html 
Css :: placeholder font size css 
Css :: stop text from wrapping 
Css :: overlay css background image 
Css :: css text selection none 
Css :: skeleton css cdn 
Css :: css text vertical direction 
Css :: text gradient css 
Css :: mat slide toggle change color 
Css :: css font text stroke 
Css :: css display none alternatives 
Css :: button mouse icon hover css 
Css :: transparent input box 
Css :: css start animation on hover 
Css :: how to stretch the background image in css 
Css :: ion-tab-bar transparent 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =