-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcaptcha.css
25 lines (22 loc) · 838 Bytes
/
captcha.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#randomfield {
/*
#randomfield is the ID of the Captcha box
*/
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
/*
user-select: none; makes the text field un-selectable (you wouldn't want the user to simply copy-paste the Captcha, would you?)
Also this shouldn't be confused with the "disabled" attribute written for this input field in the HTML code
*/
width: 200px;
color: black;
border-color: black;
text-align: center;
font-size: 40px;
/* Change the URL to the picture you would want as the background of the text field */
background-image: url('http://4.bp.blogspot.com/-EEMSa_GTgIo/UpAgBQaE6-I/AAAAAAAACUE/jdcxZVXelzA/s1600/ca.png');
}