File size: 1,193 Bytes
b1fb35d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
#camera-feed, #captured-image {
width: 100%;
height: 100%;
object-fit: cover;
border: 1px solid black;
}
.scan-effect {
position: absolute;
top: -100%;
left: 0;
width: 100%;
height: 10px;
background: linear-gradient(to bottom,
rgba(0,255,255,0) 0%,
rgba(0,255,255,0.8) 50%,
rgba(0,255,255,0) 100%);
opacity: 0;
box-shadow: 0 0 10px rgba(0,255,255,0.5);
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.pulse {
animation: pulse 2s infinite;
}
button {
margin: 10px 0;
padding: 10px 20px;
font-size: 16px;
}
input[type="text"] {
margin: 10px 0;
padding: 5px;
font-size: 16px;
}
.camera-container {
position: relative;
overflow: hidden;
border-radius: 0.5rem;
width: 320px;
height: 240px;
margin: 20px auto;
}
body {
background-image: url('/images/background.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.bg-transparent {
background-color: rgba(128, 128, 128, 0); /* Adjust the alpha value for desired transparency */
} |