Squished forms mockup
How do I make an squished forms mockup?
Quick test/mockup to style two forms joined with an angle. What is a squished forms mockup? How do you make a squished forms mockup? This script and codes were developed by Aurer on 03 August 2022, Wednesday.
Squished forms mockup - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Squished forms mockup</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body { padding: 3em;
}
h1 { text-align: center;
}
form { float: left; width: 50%;
}
fieldset { border: none; padding: .6em .6em .3em; display: block; border-radius: 10px; height: 100px; position: relative;
}
fieldset:after { content: ''; position: absolute; top: 0; background: inherit; height: 100%; width: 50px; transform: skew(-13deg); border-radius: 10px; z-index: -1;
}
.box1 fieldset { background: #015581; margin-right: 15px;
}
.box1 fieldset:after { right: -1em;
}
.box2 fieldset { background: #CACACA; margin-left: 16px;
}
.box2 fieldset:after { left: -1em;
}
.field { padding: 0 0 .6em 0;
}
.input input,
.input textarea,
.input select { border: none; width: 100%; box-sizing: border-box; padding: 1em; border: 1px solid #444; border-radius: 5px;
}
.input input:focus,
.input textarea:focus,
.input select:focus { border-color: #DB0D62; box-shadow: 0 0 0 1px #DB0D62; outline: none;
}
.input input[disabled],
.input textarea[disabled],
.input select[disabled] { opacity: 0.8; border-color: #aaa;
}
input.submit,
input[type=submit] { background-color: #02A1D9; color: #fff; border: none; padding: .4em .8em; border-radius: 4px; outline: none;
}
input.submit:focus, input.submit:active,
input[type=submit]:focus,
input[type=submit]:active { background-color: #015581; box-shadow: 0 0 0 2px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <h1>Forms mockup</h1>
<form action="" class="box1"> <fieldset> <div class="field"> <div class="input"> <input class="search" type="search" placeholder="Enter keyword"> </div> </div> <div class="field"> <input type="submit" value="Search articles"> </div> </fieldset>
</form>
<form action="" class="box2"> <fieldset> <div class="field"> <div class="input"> <input class="search" type="search" placeholder="Enter keyword"> </div> </div> <div class="field"> <input type="submit" value="Create PDF"> </div> </fieldset>
</form> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Squished forms mockup - Script Codes CSS Codes
body { padding: 3em;
}
h1 { text-align: center;
}
form { float: left; width: 50%;
}
fieldset { border: none; padding: .6em .6em .3em; display: block; border-radius: 10px; height: 100px; position: relative;
}
fieldset:after { content: ''; position: absolute; top: 0; background: inherit; height: 100%; width: 50px; transform: skew(-13deg); border-radius: 10px; z-index: -1;
}
.box1 fieldset { background: #015581; margin-right: 15px;
}
.box1 fieldset:after { right: -1em;
}
.box2 fieldset { background: #CACACA; margin-left: 16px;
}
.box2 fieldset:after { left: -1em;
}
.field { padding: 0 0 .6em 0;
}
.input input,
.input textarea,
.input select { border: none; width: 100%; box-sizing: border-box; padding: 1em; border: 1px solid #444; border-radius: 5px;
}
.input input:focus,
.input textarea:focus,
.input select:focus { border-color: #DB0D62; box-shadow: 0 0 0 1px #DB0D62; outline: none;
}
.input input[disabled],
.input textarea[disabled],
.input select[disabled] { opacity: 0.8; border-color: #aaa;
}
input.submit,
input[type=submit] { background-color: #02A1D9; color: #fff; border: none; padding: .4em .8em; border-radius: 4px; outline: none;
}
input.submit:focus, input.submit:active,
input[type=submit]:focus,
input[type=submit]:active { background-color: #015581; box-shadow: 0 0 0 2px;
}
Developer | Aurer |
Username | aurer |
Uploaded | August 03, 2022 |
Rating | 3 |
Size | 3,389 Kb |
Views | 40,480 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Fixed banners and parallax backgrounds | 3,526 Kb |
Menu handle | 3,349 Kb |
Vue form theme | 3,755 Kb |
JS Gradient | 3,400 Kb |
Laravel AutoSchema Mockup | 2,191 Kb |
Pagination | 2,428 Kb |
Collapsing list indicator animation | 4,069 Kb |
Collapsible menu using CSS transitions | 3,333 Kb |
Tomcat chrome extension UI | 2,979 Kb |
Webkit CSS Scrollbars | 3,180 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Lightrays v2 | Sinthetyc | 2,903 Kb |
Parallax.js | Zmeeey5 | 2,330 Kb |
DevCamp 2014 - Denver Public Library | See8ch | 5,033 Kb |
Price table | Serluk | 5,928 Kb |
SVG Text Masking | JMChristensen | 2,141 Kb |
Coburg Banks SVG Logo | Mjtweaver | 3,875 Kb |
Simple Flat Menu | Jeplaa | 2,467 Kb |
Shopping cart | Andiio | 6,581 Kb |
Simple Login Form | JoshBlackwood | 4,418 Kb |
RWD Conversion Practice | Jxqr97 | 2,743 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!