Table cell corner indicator

Developer
Size
2,091 Kb
Views
42,504

How do I make an table cell corner indicator?

What is a table cell corner indicator? How do you make a table cell corner indicator? This script and codes were developed by Nick Nikolov on 17 October 2022, Monday.

Table cell corner indicator Previews

Table cell corner indicator - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Table cell corner indicator</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! */ table { font-family: Roboto, Arial, sans-serif; border: 1px solid #ddd; border-collapse: collapse; table-layout: fixed; width: 100%;
}
table td { padding: 10px; border: 1px solid #ddd;
}
.corner-cut { position: relative; overflow: hidden;
}
.corner-cut:after { content: ''; display: block; height: 10px; width: 10px; background: #ddd; position: absolute; top: 0px; right: -5px; transform: skewX(45deg);
}
.corner-red:after { background: #d40000;
}
.corner-blue:after { background: #2087fc;
}
.corner-yellow:after { background: #ffcc00;
}
.corner-green:after { background: #53d769;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <table> <tr> <td class="corner-cut"> Default </td> <td class="corner-cut corner-red"> Red </td> <td class="corner-cut corner-blue"> Blue </td> <td class="corner-cut corner-yellow"> Yellow </td> <td class="corner-cut corner-green"> Green </td> </tr>
</table>
</body>
</html>

Table cell corner indicator - Script Codes CSS Codes

table { font-family: Roboto, Arial, sans-serif; border: 1px solid #ddd; border-collapse: collapse; table-layout: fixed; width: 100%;
}
table td { padding: 10px; border: 1px solid #ddd;
}
.corner-cut { position: relative; overflow: hidden;
}
.corner-cut:after { content: ''; display: block; height: 10px; width: 10px; background: #ddd; position: absolute; top: 0px; right: -5px; transform: skewX(45deg);
}
.corner-red:after { background: #d40000;
}
.corner-blue:after { background: #2087fc;
}
.corner-yellow:after { background: #ffcc00;
}
.corner-green:after { background: #53d769;
}
Table cell corner indicator - Script Codes
Table cell corner indicator - Script Codes
Home Page Home
Developer Nick Nikolov
Username necks
Uploaded October 17, 2022
Rating 3
Size 2,091 Kb
Views 42,504
Do you need developer help for Table cell corner indicator?

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!

Nick Nikolov (necks) Script Codes
Create amazing art & images 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!