From db3b350540b559ff222de123f99731e21da6fb62 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 30 Oct 2015 19:17:14 +0100 Subject: Move "required" mark before label in fields. --- public/styles.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/styles.css b/public/styles.css index 73f6530..891f69b 100644 --- a/public/styles.css +++ b/public/styles.css @@ -16,8 +16,9 @@ label { text-align: left; } -.required:after { - content: " *"; +.required label:before, +.required:empty:before { + content: "* "; color: darkred; vertical-align: top; } -- cgit v1.2.3