Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css modal animation

<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<body>

<div class="w3-container">
  <h2>W3.CSS Login Modal</h2>
  <button onclick="document.getElementById('id01').style.display='block'" class="w3-button w3-green w3-large">Login</button>

  <div id="id01" class="w3-modal">
    <div class="w3-modal-content w3-card-4 w3-animate-zoom" style="max-width:600px">

      <div class="w3-center"><br>
        <span onclick="document.getElementById('id01').style.display='none'" class="w3-button w3-xlarge w3-hover-red w3-display-topright" title="Close Modal">&times;</span>
        <img src="img_avatar4.png" alt="Avatar" style="width:30%" class="w3-circle w3-margin-top">
      </div>

      <form class="w3-container" action="/action_page.php">
        <div class="w3-section">
          <label><b>Username</b></label>
          <input class="w3-input w3-border w3-margin-bottom" type="text" placeholder="Enter Username" name="usrname" required>
          <label><b>Password</b></label>
          <input class="w3-input w3-border" type="password" placeholder="Enter Password" name="psw" required>
          <button class="w3-button w3-block w3-green w3-section w3-padding" type="submit">Login</button>
          <input class="w3-check w3-margin-top" type="checkbox" checked="checked"> Remember me
        </div>
      </form>

      <div class="w3-container w3-border-top w3-padding-16 w3-light-grey">
        <button onclick="document.getElementById('id01').style.display='none'" type="button" class="w3-button w3-red">Cancel</button>
        <span class="w3-right w3-padding w3-hide-small">Forgot <a href="#">password?</a></span>
      </div>

    </div>
  </div>
</div>
            
</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Css :: sass variables across files 
Css :: how to remove table border in css for last child if rowspan 
Css :: make font awesome spin but not the word on hover 
Css :: css accordian triangle 
Css :: oracle apex interactive report odd even 
Css :: invalid tailwind css classnames order 
Css :: how to implement continous horizontal scroll in css 
Css :: htnl css 
Css :: how can i reset the paswd of my subrion admin panel 
Css :: get variable containers 
Css :: css not hover div right hide 
Css :: google font family poppins 
Css :: The CSS to make all the columns equal in width is as follows 
Css :: background image with styled components 
Css :: mcq on advanced css 
Css :: mount file share linux windows ubuntu 
Css :: overwrite theme css in parent css 
Css :: width in css 
Css :: css grid not taking full row height 
Css :: adobe xd to html and css 
Css :: text width tailwindcss 
Typescript :: cannot be loaded because running scripts is disabled on this system 
Typescript :: In order to allow non-dict objects to be serialized set the safe parameter to False. 
Typescript :: passport serializeuser 
Typescript :: How to redirect to the previous/next page in Angular 
Typescript :: check typescript version 
Typescript :: how to add new index in array in typescript 
Typescript :: typescript initialize map inline 
Typescript :: insert value to the top of array in angular 
Typescript :: vetur change tsconfig location 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =