quello purtroppo non si può fare da CSS ma da PHP ad esempio con la forma seguente:
Codice PHP:<?php
rand();
$random = rand(0, hexdec("ffffff"));
echo "<input type=\"text\" name=\"nome\" size=\"20\" style=\"background-color: #$random\" />";
?>
quello purtroppo non si può fare da CSS ma da PHP ad esempio con la forma seguente:
Codice PHP:<?php
rand();
$random = rand(0, hexdec("ffffff"));
echo "<input type=\"text\" name=\"nome\" size=\"20\" style=\"background-color: #$random\" />";
?>