CSS Styling Images - W3Schools
www.w3schools.com › css › css3_imagesFirst, use CSS to create a modal window (dialog box), and hide it by default. Then, use a JavaScript to show the modal window and to display the image inside the modal, when a user clicks on the image: Example. // Get the modal. var modal = document.getElementById('myModal'); // Get the image and insert it inside the modal - use its "alt" text ...
CSS Background - W3schools
https://www.w3schools.in/css3/backgroundBackground Color. You have to make use of the background-color property for specifying the background color of your HTML elements. In CSS, you can set the color using any one of the following manners: using a valid name of color such as "red", "blue", etc. using a HEX value such as: #ff0000, #ffff00, etc.
CSS Background - W3schools
www.w3schools.in › css3 › backgroundBackground Color. You have to make use of the background-color property for specifying the background color of your HTML elements. In CSS, you can set the color using any one of the following manners: using a valid name of color such as "red", "blue", etc. using a HEX value such as: #ff0000, #ffff00, etc.