Skip to content

Instantly share code, notes, and snippets.

@ABeltramo
Last active September 26, 2015 11:59
Show Gist options
  • Save ABeltramo/ffe0a4860c8ab9a6ce88 to your computer and use it in GitHub Desktop.
Save ABeltramo/ffe0a4860c8ab9a6ce88 to your computer and use it in GitHub Desktop.
Form Responsive
<style type="text/css">
/* ABeltramo - 26/09/2015 */
.wf-inputpos{ /* Centro tutti i controlli di input. */
margin-top: 0px !important;
margin-right: auto !important;
margin-bottom: 10px !important;
margin-left: auto !important;
}
#WFItem14446302 .wf-input{ /* Copia questo ID dal primo div sotto: <div id="WFItem14446302" ...*/
width: 100% !important;
max-width: 500px; /* Imposto una dimensione massima così sugli schermi grandi non diventa enorme */
margin-top: 0px !important;
margin-right: auto !important;
margin-bottom: 10px !important;
margin-left: auto !important;
display: block; /* Mi centra il div grazie ai margini impostati sopra */
}
#WFItem14446302{ /* Copia questo ID dal primo div sotto: <div id="WFItem14446302" ...*/
width: 100% !important; /* Lo rendo grande come tutto lo spazio disponibile */
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment