Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Counter-Project/back.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Counter-Project/bg-image.jpg
Binary file not shown.
5 changes: 3 additions & 2 deletions Counter-Project/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Counter Project</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="fontawesome.css">
</head>
<body>

<div class="container">
<h1 id="heading-title">This is Counter Project</h1>
<h3 class="number-container">0</h3>
<div class="buttons">
<button class="btn lower">Lower Count</button>
<button class="btn upper">Add Count</button>
<a class="btn lower"><img src="logo/minus.png" alt="Minus"></a>
<a class="btn upper"><img src="logo/plus.png" alt="Plus"></a>
</div>
</div>

Expand Down
Binary file added Counter-Project/logo/minus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Counter-Project/logo/plus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 16 additions & 17 deletions Counter-Project/style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');

* {
margin: 0;
padding: 0;
}

body {
background: url('bg-image.jpg');
background: url('back.jpg');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
Expand All @@ -18,34 +20,31 @@ body {
}

#heading-title {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
background-color: #ffffff;
color: black;
padding: 10px 0;
border-radius: 20px;
border: 2px solid #21b6f1;
font-family: 'Montserrat', sans-serif;
margin-top: 20px;
font-size: 3.5em;
text-shadow: 5px 2px 8px red;
}

.number-container {
align-content: center;
margin: 25px;
padding: 25px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-family: 'Montserrat', sans-serif;
font-size: 6em;
}

.btn {
border-radius: 5px;
border: none;
outline: none;
/* font-size: 1em; */
margin: 12px;
padding: 13px 15px;
text-transform: uppercase;
width: 30%;
padding: 13px 20px;
}

.btn img{
max-height: 70px;
border-radius: 50%;
}

.btn:hover {
box-shadow: 0px 0px 18px 8px #fff;
border: none;
outline: none;
transition: 0.5s ease-in-out;
}