After creating a test project using the Google Chart example, I noticed that some text from the chart is missing after adding CSS. Here is the CSS code I used:
html,
body {
font-size: 100%;
height: 100%;
width: 100%;
}
body {
background: white;
color: #030404;
padding: 0;
margin: 0;
font-family: "Tahoma", "SergoUI", Helvetica, Arial, sans-serif;
font-weight: normal;
font-style: normal;
line-height: 1;
}
header {
height: 20%;
}
section {
height: 75%;
}
footer {
height: 5%;
}
/* The rest of the CSS styles */
And here is the HTML code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Report Template</title>
<link rel="stylesheet" href="css/style.css" />
<script type="text/javascript" src="js/jsapi.js"></script>
<script type="text/javascript">
// JavaScript code for Google Chart
</script>
</head>
<body>
<header>
<!-- Header content -->
</header>
<section>
<!-- Section content -->
</section>
<footer>
<!-- Footer content -->
</footer>
</body>
</html>
If you have any suggestions on how I can set the CSS correctly and efficiently, please let me know. Thank you!