Squished forms mockup

Developer
Size
3,389 Kb
Views
40,480

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 Previews

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;
}
Squished forms mockup - Script Codes
Squished forms mockup - Script Codes
Home Page Home
Developer Aurer
Username aurer
Uploaded August 03, 2022
Rating 3
Size 3,389 Kb
Views 40,480
Do you need developer help for Squished forms mockup?

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!

Aurer (aurer) Script Codes
Create amazing SEO content with AI!

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!