Slide Actions List
How do I make an slide actions list?
List with actions sliding on hover and checkbox hack.. What is a slide actions list? How do you make a slide actions list? This script and codes were developed by Renato Ribeiro on 17 November 2022, Thursday.
Slide Actions List - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Slide Actions List</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.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! */ @import url(https://fonts.googleapis.com/css?family=Lato);
*, *:after, *:before { box-sizing: border-box;
}
body { font-family: 'Lato'; font-smoothing: antialiased;
}
div { height: 70px; line-height: 70px; font-size: 30px; border-bottom: 1px solid #e2e2e2; background: #f2f2f2; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
ul { overflow: hidden;
}
ul li { height: 40px; line-height: 40px; border-bottom: 1px solid #eee; color: #555; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
ul li label { width: 100%; height: 100%; display: inline-block; padding: 0 10px;
}
ul li input[type=checkbox] { display: none;
}
ul li nav { position: absolute; right: 0; top: 0; transform: translatex(100%); transition: all .5s ease; font-size: 0;
}
ul li nav a { height: 100%; display: inline-block; padding: 0 20px; color: #eee; text-decoration: none; font-size: 14px;
}
a.ed { background: #3498db;
}
a.ed:hover { background: #2980b9;
}
a.rm { background: #e74c3c;
}
a.rm:hover { background: #c0392b;
}
ul li:hover { background: #fafafa;
}
ul li:hover nav,
ul li input:checked ~ nav { transform: translatex(0); transition: all .4s ease;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div>Slide Actions List</div>
<ul class="push"> <li> <label> <input type="checkbox" /> Lorem Ipsum <nav> <a href="#" class="ed">Edit</a> <a href="#" class="rm">Remove</a> </nav> </label> </li> <li> <label> <input type="checkbox" /> Lorem Ipsum <nav> <a href="#" class="ed">Edit</a> <a href="#" class="rm">Remove</a> </nav> </label> </li> <li> <label> <input type="checkbox" /> Lorem Ipsum <nav> <a href="#" class="ed">Edit</a> <a href="#" class="rm">Remove</a> </nav> </label> </li> <li> <label> <input type="checkbox" /> Lorem Ipsum <nav> <a href="#" class="ed">Edit</a> <a href="#" class="rm">Remove</a> </nav> </label> </li> <li> <label> <input type="checkbox" /> Lorem Ipsum <nav> <a href="#" class="ed">Edit</a> <a href="#" class="rm">Remove</a> </nav> </label> </li> <li> <label> <input type="checkbox" /> http://rena.to/ <nav> <a href="#" class="ed">Edit</a> <a href="#" class="rm">Remove</a> </nav> </label> </li>
</ul>
</body>
</html>
Slide Actions List - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Lato);
*, *:after, *:before { box-sizing: border-box;
}
body { font-family: 'Lato'; font-smoothing: antialiased;
}
div { height: 70px; line-height: 70px; font-size: 30px; border-bottom: 1px solid #e2e2e2; background: #f2f2f2; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
ul { overflow: hidden;
}
ul li { height: 40px; line-height: 40px; border-bottom: 1px solid #eee; color: #555; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
ul li label { width: 100%; height: 100%; display: inline-block; padding: 0 10px;
}
ul li input[type=checkbox] { display: none;
}
ul li nav { position: absolute; right: 0; top: 0; transform: translatex(100%); transition: all .5s ease; font-size: 0;
}
ul li nav a { height: 100%; display: inline-block; padding: 0 20px; color: #eee; text-decoration: none; font-size: 14px;
}
a.ed { background: #3498db;
}
a.ed:hover { background: #2980b9;
}
a.rm { background: #e74c3c;
}
a.rm:hover { background: #c0392b;
}
ul li:hover { background: #fafafa;
}
ul li:hover nav,
ul li input:checked ~ nav { transform: translatex(0); transition: all .4s ease;
}
Developer | Renato Ribeiro |
Username | renatorib |
Uploaded | November 17, 2022 |
Rating | 3 |
Size | 3,296 Kb |
Views | 12,144 |
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 |
HTML5 Input Types | 5,718 Kb |
Orbit | 3,142 Kb |
Animate.css Exemplo 1 | 1,726 Kb |
PureCSS Tabs | 4,563 Kb |
Tribal Wars - Box Pack 1 | 130,880 Kb |
IOS Toggle Checkbox | 2,873 Kb |
CSS4 Validity | 3,050 Kb |
Pulsing balls | 2,803 Kb |
The most useless balloons game | 6,583 Kb |
Flip Cards jAnimate | 4,879 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 |
The CodePen Logo | Kindofone | 4,259 Kb |
A Pen by Bryan | Brydave | 2,286 Kb |
Improved Page Flipping Effect | Usaphp | 5,201 Kb |
Lecture 1 | Law | 0 Kb |
Table border-collapse property | Maxds | 1,672 Kb |
CSS3 iPad | Vikvarg | 1,766 Kb |
Personal Website Redesign v2.0 | DevItWithDavid | 5,168 Kb |
CSS3 Animated buttons | Cguillou | 3,737 Kb |
Reading Grid | Tappily | 4,306 Kb |
Obligatory CSS3 UI Nav | Romandiaz | 9,017 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!