Slider with oblique border
How do I make an slider with oblique border?
A little play with css. What is a slider with oblique border? How do you make a slider with oblique border? This script and codes were developed by Kseso on 23 August 2022, Tuesday.
Slider with oblique border - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Slider with oblique border</title> <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! */ html {background: #d5d5d5;}
#slider-k {
background: #fff;
width: 600px;
height: 300px;
margin: 20px auto;
overflow: hidden;
border-radius: .5rem;
box-shadow: 0 0 7px rgba(0, 0, 0, 0.7);
}
#slider-k .frame-k {
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 30%;
height: 100%;
float: left;
overflow: hidden;
border-left: 10px solid #fff;
pointer: cursor;
box-shadow: 0 0 7px rgba(0, 0, 0, 0.9);
transform: skewX(-20deg);
transition: width 1.2s ease-in-out;
}
#slider-k:hover div {width: 108px;cursor: w-resize;}
#slider-k:hover div:hover {
width: 392px;}
.frame-k img {
margin-left: -55px;
transform: skewX(20deg);
}
#slider-k > div:first-child {margin-left: -63px;}
#slider-k > div:last-child {margin-right: -63px;} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <h2><a href='http://3.bp.blogspot.com/-NfaxRzCwymI/UJ1Dz-_QQSI/AAAAAAAADgQ/73uWKRloGOw/s1600/slider-oblicuo.jpg'>The post</a></h2>
<div id="slider-k"> <div class="frame-k"> <img src="http://lorempixel.com/500/300/nature" alt="" /> </div> <div class="frame-k"> <img src="http://lorempixel.com/500/300/animals" alt="" /> </div> <div class="frame-k"> <img src="http://lorempixel.com/500/300/people" alt="" /> </div> <div class="frame-k"> <img src="http://lorempixel.com/500/300/transport" alt="" /> </div>
</div>
</body>
</html>
Slider with oblique border - Script Codes CSS Codes
html {background: #d5d5d5;}
#slider-k {
background: #fff;
width: 600px;
height: 300px;
margin: 20px auto;
overflow: hidden;
border-radius: .5rem;
box-shadow: 0 0 7px rgba(0, 0, 0, 0.7);
}
#slider-k .frame-k {
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 30%;
height: 100%;
float: left;
overflow: hidden;
border-left: 10px solid #fff;
pointer: cursor;
box-shadow: 0 0 7px rgba(0, 0, 0, 0.9);
transform: skewX(-20deg);
transition: width 1.2s ease-in-out;
}
#slider-k:hover div {width: 108px;cursor: w-resize;}
#slider-k:hover div:hover {
width: 392px;}
.frame-k img {
margin-left: -55px;
transform: skewX(20deg);
}
#slider-k > div:first-child {margin-left: -63px;}
#slider-k > div:last-child {margin-right: -63px;}
Developer | Kseso |
Username | Kseso |
Uploaded | August 23, 2022 |
Rating | 4.5 |
Size | 2,296 Kb |
Views | 72,864 |
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 |
Autofill the space between elements with dots. pure Css | 2,949 Kb |
Automanual-K gallery | 6,412 Kb |
Aspect ratios pure Css | 2,661 Kb |
Animated Border Menus pure Css | 4,278 Kb |
Random animation puere CSS | 3,087 Kb |
RWD table | 2,076 Kb |
Slicing images pure Css and more | 4,344 Kb |
Double checked. Pure Css | 6,280 Kb |
DYNAMIC INSIDE BLUR PURE CSS | 4,925 Kb |
MagiCSSKroll | 4,647 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 |
Acorrdian 2016 | Milanodituti | 3,720 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
Mobile first social buttons with no iframe | Alistairtweedie | 3,158 Kb |
Simple Carousel Pure CSS | Dangvanthanh | 4,080 Kb |
3D-box | Parthviroja | 2,346 Kb |
Sassy Buttons | Elyseholladay | 2,299 Kb |
Template | Indra_z85 | 2,323 Kb |
Prism | Pyrografix | 2,843 Kb |
Revolving Text Landing Page Trial | TimRuby | 2,976 Kb |
Funny menu | AxeLVaisper | 4,671 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!