<style>
.custom {
--dhx-background-primary: rgb(238, 238, 238);
--dhx-color-primary: #118d8d;
--dhx-color-primary-active: #118d8d;
--dhx-color-primary-hover: #1ad1d1;
}
</style>
<script>
const form = new dhx.Form("form_container", {
padding: 40,
width: 400,
css: "custom",
rows: [
{
type: "input",
label: "Name",
placeholder: "John Doe",
},
{
type: "input",
label: "Email",
placeholder: "jd@mail.name"
},
]
});
</script>
Note, that the DHTMLX library provides a set of own CSS classes that you can also apply to change the appearance of Form:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4