flask / templates /table.html
simran19's picture
Create templates/table.html
9c7a43b verified
raw
history blame contribute delete
963 Bytes
<html>
<head>
<style>
body {
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: url('https://picsum.photos/1200/800') no-repeat center center/cover;
font-family: Arial, sans-serif;
}
.glass-card {
background: rgba(255, 255, 255, 0.1);
border-radius: 20px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 30px 50px;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
text-align: center;
color: #fff;
}
h2 {
margin-bottom: 20px;
font-size: 28px;
}
h3 {
margin: 8px 0;
font-weight: normal;
}
</style>
</head>
<body>
<div class="glass-card">
<h2>Printing table of {{n}}</h2>
{% for i in range(1,11) %}
<h3>{{n}} × {{i}} = {{n * i}}</h3>
{% endfor %}
</div>
</body>
</html>