Slide Actions List

Size
3,296 Kb
Views
12,144

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 Previews

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;
}
Slide Actions List - Script Codes
Slide Actions List - Script Codes
Home Page Home
Developer Renato Ribeiro
Username renatorib
Uploaded November 17, 2022
Rating 3
Size 3,296 Kb
Views 12,144
Do you need developer help for Slide Actions List?

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!

Renato Ribeiro (renatorib) Script Codes
Create amazing captions 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!