Skip to content

Instantly share code, notes, and snippets.

@JimmyGit
JimmyGit / Text Toggle
Last active March 8, 2016 01:27
CSS - Toggle text based on checkbox
<!DOCTYPE html>
<html>
<head>
<style>
.hello:after {
content:"month";
}
input:checked + .hello:after {content:"monthly";}