diff --git a/inc/form.html b/inc/form.html index ccc5a24..90304dd 100644 --- a/inc/form.html +++ b/inc/form.html @@ -1,14 +1,10 @@

Form

Documentazione su Bootstrap.

-
+
-
- - -
+
+ + +
+ Looks good! +
+
Radios
@@ -32,11 +35,25 @@

Form

-
+ Checkbox +
- - + + +
+
+ +
+
+ Range +
+
+ +
+
+
+ diff --git a/index.html b/index.html index 00af376..3e65cb9 100644 --- a/index.html +++ b/index.html @@ -60,13 +60,13 @@
Sono appassionato di front-end e utilizzo Bootstrap da tanti an

-
-
-

Real time

-
Prova 👉
+
+
+

Prova

+
👉
-

Primary

+

Primary color

-

Secondary

+

Secondary color

-
-

Font size

- -

Font family

- @@ -119,12 +112,23 @@
Prova 👉
+
+

Font size

+ +

Border radius

@@ -208,21 +212,24 @@

🖖 Il mio approccio!

--bs-border-radius: 0.25rem; } -

Scarica e inserisci nella head del tuo progetto il file CSS di seguito.

-

+

Facile da mantenere o modificare in seguito, semplicemnte modificando le variabili native presenti in cima al file CSS.

+ +
Come usarlo
+

Scarica e inserisci nella head del tuo progetto il file CSS di seguito.

+

-
+ -

Includi il file JS di Bootstrap per le funzionalità javascript.

+

Includi il file JS di Bootstrap per le funzionalità javascript (accordion, modal...).

diff --git a/script.js b/script.js index 13179b9..1ce647c 100644 --- a/script.js +++ b/script.js @@ -138,8 +138,8 @@ function handleCustomStyleChange() { --bs-body-color-rgb: {{FONT_COLOR_RGB}}; --bs-btn-color: {{LINK_COLOR}}; --bs-btn-color-rgb: {{LINK_COLOR_RGB}}; - --bs-body-font-size: {{FONT_SIZE}}; - --bs-border-radius: {{BORDER_RADIUS}}; + --bs-body-font-size: {{FONT_SIZE}}rem; + --bs-border-radius: {{BORDER_RADIUS}}rem; } `; const customCss = replaceCustomSettings(cssTemplate, customSettings);