How to create Responsive Upload Button With Pop Up Message Using html css javascript
<! DOCTYPE html/>
<html/>
<head)
<title/>Video
Upload </title >
<link
rel= "stylesheet"
type=" text/css "
href="style.css" />
<script>
function myFunction()
alert("VIdeo Uploaded
Successfully .. !! ");
</script>
<div class="container">
<input type="file" class="upload"/>
<button class="button"
onclick="myFunction()"
Submit
</button>
</div>
</body>
</html>
body
{
background-color :
cyan;
}
.container
{
margin-top: 20%;
margin-left: 30%;
}
.container .upload
{
font-size:1.5rem;
font-family: poppins ,
border-radius: 25px;
border: lpx solid black;
box-shadow: 5px 5px 10px black;
outline: none;
}
::-webkit-file-upload-button
{
color: white;
background-color: bl.ack;
padding: 20px;
border: none;
border: 25px;
box-shadow: lpx O lpx lpx
#ddffdd;
transition: all 0.35 ease;
cursor: pointer;
}
:: -webkit-file-upload-button : hover
{ background-color: #ff4c29;
color: black:
.button
{
background-color:#ff4b29
border: none;
color: white;
width: 20%;
padding: 15px 32px;
text-align: center;
display: inline-block;
font-size:17px;
margin: 4px 2px;
margin-left: 5%;
border-radius: 25px;
cursor: pointer;
transition: at1 0.35 ease;
box-shadow: 5px 5px 10px black;
}
<script>
function myFunction()
alert("VIdeo Uploaded
Successfully .. !! ");
</script>
/* hiisgraphics.com /*
Thank you for your reading.
Gracias
V
ReplyDeleteThank you for visiting. I have done.
ReplyDelete