I am encountering a situation that I find difficult to put into words. I have added an image as a 'background-image' and although it is small, it suits my needs as I am still learning. However, the issue lies in the brightness of the second repeat image and I am unsure how to remove it.
HTML:
<html>
<head>
<link rel="stylesheet" href="index.css">
</head>
<body>
<h1>Blackjack</h1>
<p id="message-el">Want to play a round?</p>
<p id="cards-el">Cards: </p>
<p id="sum-el">Sum: </p>
<button onclick="startGame()">Start Game</button>
<button onclick="newCard()">New Card</button>
<script src="index.js"></script>
</body>
</html>
CSS:
body{
text-align: center;
font-weight: bold;
color: white;
background-image: url(https://st4.depositphotos.com/5134503/i/600/depositphotos_223688152-stock-photo-dark-green-poker-table-felt.jpg);
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
background-size: cover;
}
h1{
color: goldenrod;
}
#message-el{
font-style: italic;
}
button{
display: block;
margin: auto;
color: #016f32;
background: goldenrod;
width: 200px;
padding-top: 5px;
padding-bottom: 5px;
font-weight: bold;
border: none;
border-radius: 2px;
margin-top: 5px;
margin-bottom: 5px;
}