Datasets:
| pretty_name: Full HTML Tailwind Nested Element Styles | |
| license: mit | |
| task_categories: | |
| - text-generation | |
| language: | |
| - en | |
| tags: | |
| - html | |
| - css | |
| - tailwindcss | |
| - synthetic | |
| - dataset | |
| size_categories: | |
| - 10K<n<100K | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: phase1_dataset_10k_1_elem_in_1_elem_style.jsonl | |
| # Full HTML Tailwind Nested Element Styles | |
| `kogai/full-html-stying-dataset-nested-element-styles` contains `phase1_dataset_10k_1_elem_in_1_elem_style.jsonl`, a JSONL dataset with `10000` synthetic examples. Tailwind styling transforms for simple single-element inputs that often include nested inline structure. | |
| ## Schema | |
| - `input_html`: source HTML before Tailwind classes are added. | |
| - `output_html`: transformed HTML with Tailwind utility classes applied. | |
| - `style_phrase`: normalized style request or style descriptor. | |
| ## Intended use | |
| Each row pairs source HTML with a styling request and a Tailwind-transformed HTML target. The dataset is suitable for training or evaluating models that map raw HTML plus a style instruction to polished Tailwind-based output. | |
| ## Sample record | |
| - `input_html`: "<button type=\"submit\">Save</button>" | |
| - `output_html`: "<button class=\"inline-flex items-center justify-center rounded-lg bg-blue-600 px-5 py-2.5 text-sm font-semibold text-white shadow-sm transition hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-200\"... | |
| - `style_phrase`: "modern blue compact filled primary button" | |
| ## Notes | |
| - Source file: `/home/osayed/landing-pages-html-styling-dataset-gen/datasets/FullHTML_with_tailwindcss_datasets/phase1_dataset_10k_1_elem_in_1_elem_style.jsonl` | |
| - Split pushed by this script: `train` | |
| - Request field emphasis: style phrase | |