File size: 138,600 Bytes
25f22bf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 |
======================== CODE SNIPPETS ======================== TITLE: Start Development Build Process DESCRIPTION: This command initiates the development build process, typically configured in `package.json`, to compile and serve your application with Tailwind CSS. SOURCE: https://tailwindcss.com/docs/installation/using-postcss LANGUAGE: bash CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Tailwind CSS Getting Started & Core Concepts DESCRIPTION: This section outlines the initial steps for setting up Tailwind CSS, including installation and editor configuration, along with fundamental concepts for styling with utility classes, responsive design, dark mode, and custom styles. SOURCE: https://tailwindcss.com/docs/visibility LANGUAGE: APIDOC CODE: ``` Getting Started: - Installation: /docs/installation - Editor setup: /docs/editor-setup - Compatibility: /docs/compatibility - Upgrade guide: /docs/upgrade-guide Core Concepts: - Styling with utility classes: /docs/styling-with-utility-classes - Hover, focus, and other states: /docs/hover-focus-and-other-states - Responsive design: /docs/responsive-design - Dark mode: /docs/dark-mode - Theme variables: /docs/theme - Colors: /docs/colors - Adding custom styles: /docs/adding-custom-styles - Detecting classes in source files: /docs/detecting-classes-in-source-files - Functions and directives: /docs/functions-and-directives Base Styles: - Preflight: /docs/preflight ``` ---------------------------------------- TITLE: Tailwind CSS Getting Started and Core Concepts DESCRIPTION: This section outlines the initial setup and fundamental principles for using Tailwind CSS. It covers installation, editor configuration, compatibility, upgrade procedures, and core concepts like utility-first styling, responsive design, dark mode, and custom styles. SOURCE: https://tailwindcss.com/docs/letter-spacing LANGUAGE: APIDOC CODE: ``` Getting Started: - Installation: Steps to set up Tailwind CSS in your project. - Editor setup: Configuration for IDEs to enhance Tailwind development. - Compatibility: Information on browser and environment compatibility. - Upgrade guide: Instructions for upgrading to newer versions. Core Concepts: - Styling with utility classes: Understanding the utility-first approach. - Hover, focus, and other states: Applying styles based on element states. - Responsive design: Implementing responsive layouts with breakpoints. - Dark mode: Configuring and using dark mode styles. - Theme variables: Customizing design tokens via the theme configuration. - Colors: Managing and applying color palettes. - Adding custom styles: Extending Tailwind with custom CSS. - Detecting classes in source files: How Tailwind processes and purges unused CSS. - Functions and directives: Using Tailwind's custom CSS functions and directives. ``` ---------------------------------------- TITLE: Start Development Server DESCRIPTION: Run the development server to begin building your application. This command typically watches for file changes, recompiles assets, and serves your application locally, allowing for live development. SOURCE: https://tailwindcss.com/docs/installation/using-vite LANGUAGE: Terminal CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Start Project Build Process DESCRIPTION: This command initiates the project's build process, typically defined in the `package.json` scripts. Running `npm run start` is a common way to launch a development server or compile assets for a web application. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/emberjs LANGUAGE: Terminal CODE: ``` npm run start ``` ---------------------------------------- TITLE: Start Vite development server DESCRIPTION: Executes the `npm run dev` command, which typically starts the development server configured in your `package.json`. This command allows you to preview your application in a browser and benefits from hot module reloading. SOURCE: https://tailwindcss.com/docs/installation LANGUAGE: bash CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Tailwind CSS Core Concepts and Getting Started DESCRIPTION: This section outlines the foundational topics for getting started with and understanding the core principles of Tailwind CSS. It includes guides on installation, editor setup, compatibility, upgrading, and fundamental styling concepts like utility classes, states, responsive design, dark mode, and custom styles. SOURCE: https://tailwindcss.com/docs/place-content LANGUAGE: APIDOC CODE: ``` Getting Started: - Installation: Guide to setting up Tailwind CSS in a project. - Editor Setup: Configuration for IDEs to enhance Tailwind CSS development. - Compatibility: Information on browser and environment compatibility. - Upgrade Guide: Instructions for migrating to newer versions of Tailwind CSS. Core Concepts: - Styling with Utility Classes: Explanation of Tailwind's utility-first approach. - Hover, Focus, and Other States: How to apply styles based on element states. - Responsive Design: Techniques for creating responsive layouts. - Dark Mode: Implementing dark themes using Tailwind utilities. - Theme Variables: Customizing design tokens like colors, fonts, and spacing. - Colors: Overview of Tailwind's default color palette and custom color definition. - Adding Custom Styles: Methods for extending Tailwind with custom CSS. - Detecting Classes in Source Files: How Tailwind scans files for utility classes. - Functions and Directives: Usage of Tailwind's custom CSS functions and directives (e.g., @apply, @tailwind). ``` ---------------------------------------- TITLE: Start SvelteKit Development Server DESCRIPTION: Command to start the SvelteKit development server, which will compile and serve the application with Tailwind CSS integrated. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/sveltekit LANGUAGE: Shell CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Start Laravel Development Server with Vite DESCRIPTION: This command initiates the development server for your Laravel project, leveraging Vite for fast compilation and hot module replacement. It's used during development to see changes instantly. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/laravel/vite LANGUAGE: Shell CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Create a New Laravel Project DESCRIPTION: This command initializes a new Laravel project using the Laravel installer. It sets up the basic directory structure and necessary files for a new application. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/laravel/vite LANGUAGE: Shell CODE: ``` laravel new my-project cd my-project ``` ---------------------------------------- TITLE: Start Rspack Development Server DESCRIPTION: Runs the development build process for the Rspack project, typically starting a local server and enabling live reloading. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/rspack/react LANGUAGE: shell CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Tailwind CSS Core Concepts and Setup Documentation DESCRIPTION: This section outlines the foundational documentation topics for Tailwind CSS, including installation guides, editor configurations, compatibility information, and core styling principles like utility classes, responsive design, and dark mode. SOURCE: https://tailwindcss.com/docs/object-fit LANGUAGE: APIDOC CODE: ``` ### Getting started - Installation - Editor setup - Compatibility - Upgrade guide ### Core concepts - Styling with utility classes - Hover, focus, and other states - Responsive design - Dark mode - Theme variables - Colors - Adding custom styles - Detecting classes in source files - Functions and directives ### Base styles - Preflight ``` ---------------------------------------- TITLE: Start Rspack Build Process DESCRIPTION: Executes the development build process for your Rspack project. This command compiles your assets, including Tailwind CSS, and typically starts a development server. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/rspack/vue LANGUAGE: Terminal CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Start Nuxt.js Development Server DESCRIPTION: Executes the `npm run dev` command to start the Nuxt.js development server, which compiles the application and serves it locally, allowing for real-time development. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/nuxt LANGUAGE: Terminal CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Install Tailwind CSS PostCSS Dependencies DESCRIPTION: This command installs the necessary npm packages for integrating Tailwind CSS as a PostCSS plugin, including `tailwindcss`, `@tailwindcss/postcss`, and `postcss` itself. SOURCE: https://tailwindcss.com/docs/installation/using-postcss LANGUAGE: bash CODE: ``` npm install tailwindcss @tailwindcss/postcss postcss ``` ---------------------------------------- TITLE: Install AdonisJS and Tailwind CSS via npm DESCRIPTION: Commands to initialize a new AdonisJS project and install Tailwind CSS with its Vite plugin dependencies using npm, followed by the command to start the development server. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/adonisjs LANGUAGE: Shell CODE: ``` npm init adonisjs@latest my-project -- --kit=webcd my-project npm install tailwindcss @tailwindcss/vite npm run dev ``` ---------------------------------------- TITLE: Install Tailwind CSS and CLI via npm DESCRIPTION: This command installs the `tailwindcss` package and the `@tailwindcss/cli` tool using npm, which are essential for setting up and building Tailwind CSS projects. SOURCE: https://tailwindcss.com/docs/installation/tailwind-cli LANGUAGE: npm CODE: ``` npm install tailwindcss @tailwindcss/cli ``` ---------------------------------------- TITLE: Install Tailwind CSS in an Angular Project DESCRIPTION: This step-by-step guide outlines the process of setting up Tailwind CSS within an Angular application. It covers creating a new Angular project, installing necessary Tailwind CSS packages, configuring PostCSS, importing Tailwind's base styles, and running the development server to begin using Tailwind utility classes. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/angular LANGUAGE: bash CODE: ``` ng new my-project --style css cd my-project ``` LANGUAGE: bash CODE: ``` npm install tailwindcss @tailwindcss/postcss postcss --force ``` LANGUAGE: json CODE: ``` { "plugins": { "@tailwindcss/postcss": {} } } ``` LANGUAGE: css CODE: ``` @import "tailwindcss"; ``` LANGUAGE: bash CODE: ``` ng serve ``` LANGUAGE: html CODE: ``` <h1 class="text-3xl font-bold underline"> Hello world!</h1> ``` ---------------------------------------- TITLE: Install Tailwind CSS and Vite Plugin DESCRIPTION: Command to install Tailwind CSS and its Vite plugin, along with peer dependencies, using npm in a SvelteKit project. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/sveltekit LANGUAGE: Shell CODE: ``` npm install tailwindcss @tailwindcss/vite ``` ---------------------------------------- TITLE: Start Tailwind CLI Build Process with Watch Mode DESCRIPTION: This command initiates the Tailwind CSS CLI build process. It scans your source files for Tailwind classes, generates the corresponding CSS, and outputs it to a specified file. The `--watch` flag enables continuous rebuilding upon file changes. SOURCE: https://tailwindcss.com/docs/installation/tailwind-cli LANGUAGE: npm CODE: ``` npx @tailwindcss/cli -i ./src/input.css -o ./src/output.css --watch ``` ---------------------------------------- TITLE: Start Meteor build process DESCRIPTION: Executes the npm start script to initiate the Meteor development server and build process, compiling the project including Tailwind CSS. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/meteor LANGUAGE: bash CODE: ``` npm run start ``` ---------------------------------------- TITLE: Start Project Build Process with Mix DESCRIPTION: This command initiates the project's build and development server process. For Phoenix applications, `mix phx.server` compiles assets, starts the server, and watches for file changes, enabling live reloading during development. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/phoenix LANGUAGE: Shell CODE: ``` mix phx.server ``` ---------------------------------------- TITLE: Create a new Vite project DESCRIPTION: Initializes a new Vite project using `npm create vite` and navigates into the newly created project directory. This is the first step to set up a modern web development environment. SOURCE: https://tailwindcss.com/docs/installation LANGUAGE: bash CODE: ``` npm create vite@latest my-project cd my-project ``` ---------------------------------------- TITLE: Install Tailwind CSS and Vite plugin DESCRIPTION: Installs the core `tailwindcss` package and the `@tailwindcss/vite` plugin using npm. These packages are essential for integrating Tailwind CSS with a Vite-based project, enabling its compilation and processing. SOURCE: https://tailwindcss.com/docs/installation LANGUAGE: bash CODE: ``` npm install tailwindcss @tailwindcss/vite ``` ---------------------------------------- TITLE: Install Tailwind CSS and Vite Plugin DESCRIPTION: This command installs Tailwind CSS and its Vite plugin, along with their peer dependencies, into the current project using npm. These packages are essential for integrating Tailwind CSS with a Vite-based build process. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/laravel/vite LANGUAGE: Shell CODE: ``` npm install tailwindcss @tailwindcss/vite ``` ---------------------------------------- TITLE: Import CSS into Ember.js Application DESCRIPTION: This snippet demonstrates how to import a CSS file (e.g., `./app.css`) into an Ember.js application's main `app.js` file. It shows the standard Ember application setup with module and pod prefixes, and initializer loading, ensuring the CSS is bundled with the application. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/emberjs LANGUAGE: JavaScript CODE: ``` import Application from '@ember/application';import Resolver from 'ember-resolver';import loadInitializers from 'ember-load-initializers';import config from 'my-project/config/environment';import 'my-project/app.css';export default class App extends Application { modulePrefix = config.modulePrefix; podModulePrefix = config.podModulePrefix; Resolver = Resolver;}loadInitializers(App, config.modulePrefix); ``` ---------------------------------------- TITLE: Install Tailwind CSS and Vite Plugin DESCRIPTION: Install the necessary npm packages for Tailwind CSS and its Vite plugin. This command adds `tailwindcss` and `@tailwindcss/vite` to your project's dependencies, enabling Tailwind CSS integration within a Vite build process. SOURCE: https://tailwindcss.com/docs/installation/using-vite LANGUAGE: Terminal CODE: ``` npm install tailwindcss @tailwindcss/vite ``` ---------------------------------------- TITLE: Integrate Tailwind CSS in HTML DESCRIPTION: This HTML snippet demonstrates the basic setup for using Tailwind CSS. It shows how to include the compiled CSS file in the <head> section and apply Tailwind's utility classes, such as text-3xl, font-bold, and underline, to an <h1> element to style text. SOURCE: https://tailwindcss.com/docs/installation/using-vite LANGUAGE: HTML CODE: ``` <!doctype html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="/src/style.css" rel="stylesheet"></head><body> <h1 class="text-3xl font-bold underline"> Hello world! </h1></body></html> ``` ---------------------------------------- TITLE: Integrate Tailwind CSS in HTML DESCRIPTION: This snippet demonstrates how to include Tailwind CSS in a basic HTML file and use its utility classes. It shows the necessary <link> tag for the compiled CSS and an example of applying text-3xl, font-bold, and underline classes to an <h1> element. Ensure /dist/styles.css is your compiled Tailwind CSS file. SOURCE: https://tailwindcss.com/docs/installation/using-postcss LANGUAGE: HTML CODE: ``` <!doctype html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="/dist/styles.css" rel="stylesheet"></head><body> <h1 class="text-3xl font-bold underline"> Hello world! </h1></body></html> ``` ---------------------------------------- TITLE: Integrate Tailwind Play CDN into HTML DESCRIPTION: Demonstrates how to include the Tailwind CSS Play CDN script in an HTML file's head section to enable Tailwind utility classes for styling content directly in the browser. This setup is ideal for quick prototyping and development without a build step. SOURCE: https://tailwindcss.com/docs/installation/play-cdn LANGUAGE: HTML CODE: ``` <!doctype html><html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> </head> <body> <h1 class="text-3xl font-bold underline"> Hello world! </h1> </body></html> ``` ---------------------------------------- TITLE: Create a New Vite Project DESCRIPTION: Initiate a new Vite project using the `npm create vite` command. This command scaffolds a new project directory and navigates into it, preparing the environment for further development. SOURCE: https://tailwindcss.com/docs/installation/using-vite LANGUAGE: Terminal CODE: ``` npm create vite@latest my-project cd my-project ``` ---------------------------------------- TITLE: Tailwind CSS Core Concepts and Setup DESCRIPTION: Documents fundamental aspects of using Tailwind CSS, including installation, editor setup, compatibility, upgrade guidance, and core styling principles like utility classes, states, responsive design, and theme customization. SOURCE: https://tailwindcss.com/docs/text-indent LANGUAGE: APIDOC CODE: ``` Getting started: - Installation - Editor setup - Compatibility - Upgrade guide Core concepts: - Styling with utility classes - Hover, focus, and other states - Responsive design - Dark mode - Theme variables - Colors - Adding custom styles - Detecting classes in source files - Functions and directives ``` ---------------------------------------- TITLE: Install Tailwind CSS and Vite Plugin for Nuxt.js DESCRIPTION: Installs the `tailwindcss` package and its Vite plugin (`@tailwindcss/vite`) along with their peer dependencies using npm, preparing the project for Tailwind CSS integration. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/nuxt LANGUAGE: Terminal CODE: ``` npm install tailwindcss @tailwindcss/vite ``` ---------------------------------------- TITLE: Tailwind CSS Core Concepts and Setup DESCRIPTION: This section outlines the fundamental concepts of using Tailwind CSS, including installation, editor setup, compatibility, and how to style elements using utility classes, manage states, implement responsive design, and handle dark mode. It also covers theme variables, custom styles, and detecting classes. SOURCE: https://tailwindcss.com/docs/background-position LANGUAGE: APIDOC CODE: ``` Installation: Guide to setting up Tailwind CSS in a project. Editor setup: Configuration for IDEs to enhance Tailwind CSS development. Compatibility: Information on browser and framework compatibility. Upgrade guide: Instructions for migrating between Tailwind CSS versions. Styling with utility classes: Principles of applying styles directly in HTML using utility classes. Hover, focus, and other states: Applying styles based on element states. Responsive design: Techniques for creating responsive layouts using breakpoints. Dark mode: Implementing dark themes with Tailwind CSS. Theme variables: Customizing design tokens like colors, fonts, and spacing. Colors: Managing and using color palettes. Adding custom styles: Extending Tailwind CSS with custom CSS or utility classes. Detecting classes in source files: How Tailwind's JIT engine scans for used classes. Functions and directives: Using Tailwind's `@apply`, `@tailwind`, and `theme()` functions in CSS. Preflight: Tailwind's opinionated base styles for cross-browser consistency. ``` ---------------------------------------- TITLE: Install Tailwind CSS and PostCSS Dependencies DESCRIPTION: Installs Tailwind CSS, its PostCSS plugin (`@tailwindcss/postcss`), PostCSS itself, and the `postcss-loader` for Webpack using npm. These packages are essential for processing Tailwind CSS with PostCSS. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/emberjs LANGUAGE: Shell CODE: ``` npm install tailwindcss @tailwindcss/postcss postcss postcss-loader ``` ---------------------------------------- TITLE: Start Qwik development server DESCRIPTION: Initiates the development server for the Qwik project, allowing real-time preview and development with Tailwind CSS enabled. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/qwik LANGUAGE: bash CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Create a New Ember.js Project DESCRIPTION: Initializes a new Ember.js application using Ember CLI, with Embroider enabled and the welcome page disabled. This command sets up the basic project structure and navigates into the new project directory. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/emberjs LANGUAGE: Shell CODE: ``` npx ember-cli new my-project --embroider --no-welcome cd my-project ``` ---------------------------------------- TITLE: Create a New SvelteKit Project DESCRIPTION: Initial command to create a new SvelteKit project using `npx sv create` and navigate into the newly created project directory. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/sveltekit LANGUAGE: Shell CODE: ``` npx sv create my-project cd my-project ``` ---------------------------------------- TITLE: Create Rspack Project DESCRIPTION: Initializes a new Rspack project using the Rspack CLI, setting up the basic project structure. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/rspack/react LANGUAGE: shell CODE: ``` npm create rspack@latest ``` ---------------------------------------- TITLE: Create a New Nuxt.js Project DESCRIPTION: Initializes a new Nuxt.js project using the Nuxt Command Line Interface (CLI) and navigates into the newly created project directory. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/nuxt LANGUAGE: Terminal CODE: ``` npx nuxi init my-project cd my-project ``` ---------------------------------------- TITLE: Start Development Server DESCRIPTION: This command initiates the development server for your Vite project. It typically watches for file changes, recompiles assets, and serves your application locally, allowing for live development and testing. SOURCE: https://tailwindcss.com/docs/index LANGUAGE: Terminal CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Create a new Parcel project and initialize npm DESCRIPTION: This command sequence sets up a new directory for your project, navigates into it, initializes a Node.js project with default settings, installs Parcel as a development dependency, creates a source directory, and an initial HTML file. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/parcel LANGUAGE: bash CODE: ``` mkdir my-project cd my-project npm init -y npm install parcel mkdir src touch src/index.html ``` ---------------------------------------- TITLE: Start the Parcel development server DESCRIPTION: This command initiates Parcel's development server, which bundles your project's assets, including the HTML, CSS (with Tailwind processed by PostCSS), and JavaScript. It serves the application and provides live reloading during development. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/parcel LANGUAGE: bash CODE: ``` npx parcel src/index.html ``` ---------------------------------------- TITLE: Tailwind CSS Core Concepts and Setup DESCRIPTION: This section outlines fundamental concepts and initial setup procedures for Tailwind CSS. It covers installation, editor configuration, compatibility, and upgrade guidelines, along with core styling principles like utility classes, responsive design, and dark mode. SOURCE: https://tailwindcss.com/docs/scroll-snap-stop LANGUAGE: APIDOC CODE: ``` Getting started: - Installation: /docs/installation - Editor setup: /docs/editor-setup - Compatibility: /docs/compatibility - Upgrade guide: /docs/upgrade-guide Core concepts: - Styling with utility classes: /docs/styling-with-utility-classes - Hover, focus, and other states: /docs/hover-focus-and-other-states - Responsive design: /docs/responsive-design - Dark mode: /docs/dark-mode - Theme variables: /docs/theme - Colors: /docs/colors - Adding custom styles: /docs/adding-custom-styles - Detecting classes in source files: /docs/detecting-classes-in-source-files - Functions and directives: /docs/functions-and-directives Base styles: - Preflight: /docs/preflight ``` ---------------------------------------- TITLE: Tailwind CSS Core Concepts and Setup DESCRIPTION: This section outlines the foundational aspects of using Tailwind CSS, including installation, editor configuration, compatibility, and fundamental styling principles like utility classes, responsive design, and dark mode. SOURCE: https://tailwindcss.com/docs/justify-items LANGUAGE: APIDOC CODE: ``` Installation: /docs/installation Editor setup: /docs/editor-setup Compatibility: /docs/compatibility Upgrade guide: /docs/upgrade-guide Styling with utility classes: /docs/styling-with-utility-classes Hover, focus, and other states: /docs/hover-focus-and-other-states Responsive design: /docs/responsive-design Dark mode: /docs/dark-mode Theme variables: /docs/theme Colors: /docs/colors Adding custom styles: /docs/adding-custom-styles Detecting classes in source files: /docs/detecting-classes-in-source-files Functions and directives: /docs/functions-and-directives Base styles (Preflight): /docs/preflight ``` ---------------------------------------- TITLE: Start Tailwind CSS Build Process DESCRIPTION: Initiates the development server and the Tailwind CSS build process, which watches for changes in source files and compiles the CSS. This command is essential for real-time styling updates during development. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/ruby-on-rails LANGUAGE: Ruby CODE: ``` ./bin/dev ``` ---------------------------------------- TITLE: Create a new Phoenix project DESCRIPTION: Initializes a new Phoenix project and navigates into its directory. This is the first step before integrating Tailwind CSS. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/phoenix LANGUAGE: Shell CODE: ``` mix phx.new myproject cd myproject ``` ---------------------------------------- TITLE: Create a new Qwik project DESCRIPTION: Initializes a new Qwik application using the `create qwik` CLI command, setting up an empty project structure and navigating into the new project directory. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/qwik LANGUAGE: bash CODE: ``` npm create qwik@latest empty my-project cd my-project ``` ---------------------------------------- TITLE: Apply Tailwind CSS Classes in Handlebars Template DESCRIPTION: This example shows how to integrate Tailwind CSS utility classes directly into an Ember.js Handlebars template. It applies `text-3xl`, `font-bold`, and `underline` classes to an `<h1>` element, demonstrating basic styling with Tailwind CSS. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/emberjs LANGUAGE: HTML CODE: ``` {{page-title "MyProject"}}<h1 class="text-3xl font-bold underline"> Hello world!</h1>{{outlet}} ``` ---------------------------------------- TITLE: Create a New Vite Project DESCRIPTION: This command initializes a new Vite project using the `create-vite` tool. It sets up the basic project structure and dependencies, preparing it for further development. The `cd` command then navigates into the newly created project directory. SOURCE: https://tailwindcss.com/docs/index LANGUAGE: Terminal CODE: ``` npm create vite@latest my-project cd my-project ``` ---------------------------------------- TITLE: Tailwind CSS @starting-style Variant DESCRIPTION: This example uses the `starting` variant to define the initial appearance of an element when it is first rendered or transitions from `display: none` to visible. Specifically, `starting:open:opacity-0` sets the initial opacity to 0 for a popover when it opens, allowing for smooth transition effects. SOURCE: https://tailwindcss.com/docs/hover-focus-and-other-states LANGUAGE: HTML CODE: ``` <div> <button popovertarget="my-popover">Check for updates</button> <div popover id="my-popover" class="opacity-0 starting:open:opacity-0 ..."> <!-- ... --> </div> </div> ``` ---------------------------------------- TITLE: Start Development Server DESCRIPTION: This command initiates the development server for the project, allowing you to preview your application in a browser and benefit from features like hot module reloading during development. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/react-router LANGUAGE: Terminal CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Create a new Meteor project DESCRIPTION: Initializes a new Meteor project using the Meteor CLI and navigates into the newly created project directory. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/meteor LANGUAGE: bash CODE: ``` npx meteor create my-project cd my-project ``` ---------------------------------------- TITLE: Create React Router Project DESCRIPTION: This command initializes a new React Router project using `create-react-router` and then navigates into the newly created project directory, preparing it for further setup. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/react-router LANGUAGE: Terminal CODE: ``` npx create-react-router@latest my-project cd my-project ``` ---------------------------------------- TITLE: Start Development Server DESCRIPTION: Initiates the development server for the SolidJS project. This command compiles the application and serves it, allowing developers to see changes in real-time. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/solidjs LANGUAGE: Bash CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Install Tailwind CSS and Vite Plugin DESCRIPTION: This command installs the core `tailwindcss` package and the `@tailwindcss/vite` plugin, which provides seamless integration with Vite. These packages are added as development dependencies to your project. SOURCE: https://tailwindcss.com/docs/index LANGUAGE: Terminal CODE: ``` npm install tailwindcss @tailwindcss/vite ``` ---------------------------------------- TITLE: Tailwind CSS Flexbox `flex-initial` Example DESCRIPTION: Illustrates the `flex-initial` utility, which allows a flex item to shrink but not grow, respecting its initial size. This setup shows how items maintain their base width while adapting to available space. SOURCE: https://tailwindcss.com/docs/flex LANGUAGE: HTML CODE: ``` <div class="flex"> <div class="w-14 flex-none ...">01</div> <div class="w-64 flex-initial ...">02</div> <div class="w-32 flex-initial ...">03</div></div> ``` ---------------------------------------- TITLE: Tailwind CSS justify-items-start Example DESCRIPTION: Demonstrates the use of the `justify-items-start` utility class to align grid items to the start of their inline axis within a grid container. SOURCE: https://tailwindcss.com/docs/justify-items LANGUAGE: html CODE: ``` <div class="grid justify-items-start ..."> <div>01</div> <div>02</div> <div>03</div> <div>04</div> <div>05</div> <div>06</div> </div> ``` ---------------------------------------- TITLE: Basic HTML Structure with Tailwind CSS Integration DESCRIPTION: This HTML snippet shows a minimal web page structure that integrates the compiled Tailwind CSS output. It includes viewport meta tags and a simple heading styled with Tailwind's utility classes. SOURCE: https://tailwindcss.com/docs/installation/tailwind-cli LANGUAGE: HTML CODE: ``` <!doctype html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="./output.css" rel="stylesheet"></head><body> <h1 class="text-3xl font-bold underline"> Hello world! </h1></body></html> ``` ---------------------------------------- TITLE: Align Flex Items to Start with Tailwind CSS DESCRIPTION: Illustrates how to use the `items-start` utility class to align flex items to the beginning of the container's cross axis. SOURCE: https://tailwindcss.com/docs/align-items LANGUAGE: html CODE: ``` <div class="flex items-start ..."> <div class="py-4">01</div> <div class="py-12">02</div> <div class="py-8">03</div> </div> ``` ---------------------------------------- TITLE: Use Tailwind CSS in Svelte Component with PostCSS DESCRIPTION: Example Svelte component (`+page.svelte`) demonstrating the use of Tailwind's utility classes for styling and how to integrate PostCSS for theme-based styling within `<style>` blocks. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/sveltekit LANGUAGE: HTML CODE: ``` <h1 class="text-3xl font-bold underline"> Hello world! </h1> <style lang="postcss"> @reference "tailwindcss"; :global(html) { background-color: theme(--color-gray-100); } </style> ``` ---------------------------------------- TITLE: Integrate Tailwind CSS into HTML DESCRIPTION: This HTML snippet demonstrates the basic structure required to use Tailwind CSS. It shows how to link a compiled Tailwind CSS stylesheet (e.g., '/src/style.css') in the `<head>` section and apply utility classes (like 'text-3xl font-bold underline') directly to an `<h1>` element to style it. SOURCE: https://tailwindcss.com/docs/installation LANGUAGE: HTML CODE: ``` <!doctype html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="/src/style.css" rel="stylesheet"></head><body> <h1 class="text-3xl font-bold underline"> Hello world! </h1></body></html> ``` ---------------------------------------- TITLE: Install Tailwind CSS and Vite plugin DESCRIPTION: Installs the core Tailwind CSS package and the `@tailwindcss/vite` plugin, along with their peer dependencies, into the Qwik project using npm. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/qwik LANGUAGE: bash CODE: ``` npm install tailwindcss @tailwindcss/vite ``` ---------------------------------------- TITLE: Create New Ruby on Rails Project DESCRIPTION: Initializes a new Ruby on Rails application with the specified project name and then navigates into the newly created project directory. This is the foundational step before integrating Tailwind CSS. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/ruby-on-rails LANGUAGE: Ruby CODE: ``` rails new my-project cd my-project ``` ---------------------------------------- TITLE: Install Tailwind CSS standalone CLI DESCRIPTION: Executes the Phoenix mix command to download and install the standalone Tailwind CSS command-line interface, which is required for building CSS. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/phoenix LANGUAGE: Shell CODE: ``` mix tailwind.install ``` ---------------------------------------- TITLE: Create a New Rspack Project DESCRIPTION: Initializes a new Rspack project using the Rspack CLI. This command sets up the basic project structure, allowing you to integrate Tailwind CSS. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/rspack/vue LANGUAGE: Terminal CODE: ``` npm create rspack@latest ``` ---------------------------------------- TITLE: Create a new Symfony web application project DESCRIPTION: Initializes a new Symfony web application project using the Symfony Installer and navigates into the newly created project directory. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/symfony LANGUAGE: Shell CODE: ``` symfony new --webapp my-project cd my-project ``` ---------------------------------------- TITLE: Integrate Tailwind CSS in a Twig HTML Template DESCRIPTION: This snippet illustrates a foundational HTML5 document structure within a Twig template, demonstrating the inclusion of compiled CSS (likely via Webpack Encore) and the direct application of Tailwind CSS utility classes to an `<h1>` element for basic styling. It serves as a minimal example to get started with Tailwind in a templated environment. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/symfony LANGUAGE: HTML CODE: ``` <!doctype html><html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> {% block stylesheets %} {{ encore_entry_link_tags('app') }} {% endblock %} </head> <body> <h1 class="text-3xl font-bold underline"> Hello world! </h1> </body></html> ``` ---------------------------------------- TITLE: Start Next.js Development Server DESCRIPTION: This command initiates the development server for the Next.js application. Running this command allows you to view your application in a web browser and enables hot-reloading for development. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/nextjs LANGUAGE: bash CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Start Astro development server DESCRIPTION: Executes the `npm run dev` command to start the Astro development server. This compiles the project, watches for changes, and serves the application locally for development and testing. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/astro LANGUAGE: Terminal CODE: ``` npm run dev ``` ---------------------------------------- TITLE: Import Tailwind CSS into Application Stylesheet DESCRIPTION: CSS content for `src/app.css` to import the Tailwind CSS base styles, components, and utilities into the project's main stylesheet. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/sveltekit LANGUAGE: CSS CODE: ``` @import "tailwindcss"; ``` ---------------------------------------- TITLE: Install Tailwind CSS and PostCSS Dependencies DESCRIPTION: Installs Tailwind CSS, its PostCSS plugin, PostCSS itself, and the PostCSS loader as project dependencies required for integrating Tailwind CSS into a Rspack build. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/rspack/react LANGUAGE: shell CODE: ``` npm install tailwindcss @tailwindcss/postcss postcss postcss-loader ``` ---------------------------------------- TITLE: Import Tailwind CSS into Main Stylesheet DESCRIPTION: This CSS `@import` rule includes the Tailwind CSS framework into your project's main stylesheet, making its utility classes available for use. SOURCE: https://tailwindcss.com/docs/installation/using-postcss LANGUAGE: css CODE: ``` @import "tailwindcss"; ``` ---------------------------------------- TITLE: Start the development build process with npm DESCRIPTION: Executes the `npm run watch` command, which typically starts a development server and continuously monitors source files for changes, automatically recompiling assets as needed. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/symfony LANGUAGE: Shell CODE: ``` npm run watch ``` ---------------------------------------- TITLE: Tailwind CSS Responsive Flex Direction Example DESCRIPTION: Demonstrates how to apply `flex-direction` utilities responsively using breakpoint variants. The example shows changing from a column layout to a row layout at medium screen sizes and above. SOURCE: https://tailwindcss.com/docs/flex-direction LANGUAGE: HTML CODE: ``` <div class="flex flex-col md:flex-row ..."> <!-- ... --></div> ``` ---------------------------------------- TITLE: Configure Tailwind CSS Vite Plugin in SvelteKit DESCRIPTION: Configuration for `vite.config.ts` to integrate the `@tailwindcss/vite` plugin with SvelteKit's Vite setup, enabling Tailwind CSS processing during development and build. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/sveltekit LANGUAGE: TypeScript CODE: ``` import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite'; import tailwindcss from '@tailwindcss/vite'; export default defineConfig({ plugins: [ tailwindcss(), sveltekit(), ], }); ``` ---------------------------------------- TITLE: Install Tailwind CSS and PostCSS integration DESCRIPTION: This command installs the core `tailwindcss` package along with `@tailwindcss/postcss`, which is necessary for integrating Tailwind CSS into a PostCSS build process, typically used with bundlers like Parcel. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/parcel LANGUAGE: bash CODE: ``` npm install tailwindcss @tailwindcss/postcss ``` ---------------------------------------- TITLE: Install Tailwind CSS and PostCSS via npm DESCRIPTION: This command installs Tailwind CSS along with its PostCSS plugin and PostCSS itself as development dependencies, which are essential for processing Tailwind's utility classes. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/laravel/mix LANGUAGE: bash CODE: ``` npm install tailwindcss @tailwindcss/postcss postcss ``` ---------------------------------------- TITLE: Update Tailwind CLI Commands for v4 DESCRIPTION: This example illustrates the necessary change when using the Tailwind CLI in v4. The CLI functionality has moved from the main `tailwindcss` package to a dedicated `@tailwindcss/cli` package, requiring an update to any build commands that invoke the CLI. SOURCE: https://tailwindcss.com/docs/upgrade-guide LANGUAGE: Terminal CODE: ``` npx tailwindcss -i input.css -o output.css npx @tailwindcss/cli -i input.css -o output.css ``` ---------------------------------------- TITLE: HTML Example for Tailwind CSS transition-behavior Utility DESCRIPTION: Demonstrates the use of `transition-normal` and `transition-discrete` utilities in HTML. This example shows how `transition-discrete` allows properties like `display: hidden` to `display: block` to transition smoothly, while `transition-normal` results in an immediate change. SOURCE: https://tailwindcss.com/docs/transition-behavior LANGUAGE: HTML CODE: ``` <label class="peer ..."> <input type="checkbox" checked /></label><button class="hidden transition-all not-peer-has-checked:opacity-0 peer-has-checked:block ..."> I hide</button><label class="peer ..."> <input type="checkbox" checked /></label><button class="hidden transition-all transition-discrete not-peer-has-checked:opacity-0 peer-has-checked:block ..."> I fade out</button> ``` ---------------------------------------- TITLE: Create a New SolidJS Project DESCRIPTION: Initializes a new SolidJS project using the official Vite template. This command sets up the basic project structure and navigates into the new directory. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/solidjs LANGUAGE: Bash CODE: ``` npx degit solidjs/templates/js my-project cd my-project ``` ---------------------------------------- TITLE: Tailwind CSS justify-self-center-safe Example DESCRIPTION: Demonstrates the `justify-self-center-safe` utility, which aligns a grid item to the center, but falls back to the start if there isn't enough space. SOURCE: https://tailwindcss.com/docs/justify-self LANGUAGE: HTML CODE: ``` <div class="grid justify-items-stretch ..."> <!-- ... --> <div class="justify-self-center-safe ...">02</div> <!-- ... --></div> ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 700 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-700` to set the inline start border color to a darker indigo shade (indigo-700). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-700 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-700); /* oklch(45.7% 0.24 277.023) */ ``` ---------------------------------------- TITLE: Create a new Gatsby project DESCRIPTION: Initializes a new Gatsby project using the Gatsby CLI and navigates into the project directory. This is the foundational step before installing any dependencies or configuring build tools. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/gatsby LANGUAGE: bash CODE: ``` gatsby new my-project cd my-project ``` ---------------------------------------- TITLE: HTML Example for mix-blend-mode Utilities DESCRIPTION: Demonstrates the usage of `mix-blend-overlay` and `mix-blend-soft-light` utility classes within an HTML structure to blend elements, specifically showing two divs with different background colors and `mix-blend-multiply` applied. SOURCE: https://tailwindcss.com/docs/mix-blend-mode LANGUAGE: HTML CODE: ``` <div class="flex justify-center -space-x-14"> <div class="bg-blue-500 mix-blend-multiply ..."></div> <div class="bg-pink-500 mix-blend-multiply ..."></div></div> ``` ---------------------------------------- TITLE: Install Tailwind CSS Gems in Rails DESCRIPTION: Adds the necessary `tailwindcss-ruby` and `tailwindcss-rails` gems to the Ruby on Rails project's Gemfile, followed by executing the Tailwind CSS installation command to set up configuration files and dependencies. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/ruby-on-rails LANGUAGE: Ruby CODE: ``` ./bin/bundle add tailwindcss-ruby ./bin/bundle add tailwindcss-rails ./bin/rails tailwindcss:install ``` ---------------------------------------- TITLE: Tailwind CSS justify-self-start Example DESCRIPTION: Illustrates how to use the `justify-self-start` utility to align a grid item to the beginning of its inline axis. SOURCE: https://tailwindcss.com/docs/justify-self LANGUAGE: HTML CODE: ``` <div class="grid justify-items-stretch ..."> <!-- ... --> <div class="justify-self-start ...">02</div> <!-- ... --></div> ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 500 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-500` to set the inline start border color to a standard violet shade (violet-500). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-500 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-500); /* oklch(60.6% 0.25 292.717) */ ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 800 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-800` to set the inline start border color to a very dark violet shade (violet-800). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-800 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-800); /* oklch(43.2% 0.232 292.759) */ ``` ---------------------------------------- TITLE: Combine Theme, Bare, and Arbitrary Values in Tailwind CSS Utilities DESCRIPTION: These CSS snippets illustrate how to combine theme-based, bare, and arbitrary values within a single Tailwind CSS utility definition. Multiple `--value()` declarations are used, and any declarations that fail to resolve will be omitted, allowing flexible value resolution. The first example shows `tab-size` with theme, bare integer, and arbitrary integer values. The second example shows `opacity` with arbitrary percentage, bare integer (converted to percentage), and theme-based values. SOURCE: https://tailwindcss.com/docs/adding-custom-styles LANGUAGE: CSS CODE: ``` @theme { --tab-size-github: 8;}@utility tab-* { tab-size: --value([integer]); tab-size: --value(integer); tab-size: --value(--tab-size-*);} ``` LANGUAGE: CSS CODE: ``` @utility opacity-* { opacity: --value([percentage]); opacity: calc(--value(integer) * 1%); opacity: --value(--opacity-*);} ``` ---------------------------------------- TITLE: Set Border Start Color to Purple 500 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-purple-500` to set the inline start border color to a standard purple shade (purple-500). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-purple-500 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-purple-500); /* oklch(62.7% 0.265 303.9) */ ``` ---------------------------------------- TITLE: Install Tailwind CSS and Vite Plugin DESCRIPTION: This command installs Tailwind CSS and its official Vite plugin (`@tailwindcss/vite`) along with their necessary peer dependencies using npm, enabling Tailwind CSS integration in a Vite-based project. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/react-router LANGUAGE: Terminal CODE: ``` npm install tailwindcss @tailwindcss/vite ``` ---------------------------------------- TITLE: HTML Examples for Tailwind CSS Backdrop Brightness Utilities DESCRIPTION: Provides HTML code examples demonstrating the application of Tailwind CSS `backdrop-brightness` utility classes. These examples show how to use predefined numeric values and custom arbitrary values to control the backdrop brightness of elements. SOURCE: https://tailwindcss.com/docs/backdrop-filter-brightness LANGUAGE: HTML CODE: ``` <div class="bg-[url(/img/mountains.jpg)]"> <div class="bg-white/30 backdrop-brightness-50 ..."></div> </div> <div class="bg-[url(/img/mountains.jpg)]"> <div class="bg-white/30 backdrop-brightness-150 ..."></div> </div> ``` LANGUAGE: HTML CODE: ``` <div class="backdrop-brightness-[1.75] ..."> <!-- ... --> </div> ``` LANGUAGE: HTML CODE: ``` <div class="backdrop-brightness-(--my-backdrop-brightness) ..."> <!-- ... --> </div> ``` ---------------------------------------- TITLE: Set Border Start Color to Purple 800 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-purple-800` to set the inline start border color to a very dark purple shade (purple-800). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-purple-800 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-purple-800); /* oklch(43.8% 0.218 303.724) */ ``` ---------------------------------------- TITLE: Set Border Start Color to Blue 900 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-blue-900` to set the inline start border color to a deep blue shade (blue-900). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-900 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-900); /* oklch(37.9% 0.146 265.522) */ ``` ---------------------------------------- TITLE: Tailwind CSS Flexbox Basic Example DESCRIPTION: Demonstrates the use of `flex-1` to allow flex items to grow and shrink, ignoring their initial size. This example shows three flex items within a flex container, with one item having a fixed width and the other two distributing available space. SOURCE: https://tailwindcss.com/docs/flex LANGUAGE: HTML CODE: ``` <div class="flex"> <div class="w-14 flex-none ...">01</div> <div class="w-64 flex-1 ...">02</div> <div class="w-32 flex-1 ...">03</div></div> ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 900 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-900` to set the inline start border color to a deep indigo shade (indigo-900). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-900 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-900); /* oklch(35.9% 0.144 278.697) */ ``` ---------------------------------------- TITLE: Tailwind CSS Border Inline Start Color Utilities DESCRIPTION: These snippets demonstrate the Tailwind CSS utility classes for applying specific color shades to the `border-inline-start-color` property. Each utility class directly translates to a CSS rule setting the border's start color using a CSS variable, often with an `oklch` color function comment for reference. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-emerald-800 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-emerald-800); /* oklch(43.2% 0.095 166.913) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-emerald-900 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-emerald-900); /* oklch(37.8% 0.077 168.94) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-emerald-950 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-emerald-950); /* oklch(26.2% 0.051 172.552) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-50 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-50); /* oklch(98.4% 0.014 180.72) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-100 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-100); /* oklch(95.3% 0.051 180.801) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-200 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-200); /* oklch(91% 0.096 180.426) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-300 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-300); /* oklch(85.5% 0.138 181.071) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-400 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-400); /* oklch(77.7% 0.152 181.912) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-500 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-500); /* oklch(70.4% 0.14 182.503) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-600 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-600); /* oklch(60% 0.118 184.704) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-700 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-700); /* oklch(51.1% 0.096 186.391) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-800 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-800); /* oklch(43.7% 0.078 188.216) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-900 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-900); /* oklch(38.6% 0.063 188.416) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-teal-950 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-teal-950); /* oklch(27.7% 0.046 192.524) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-50 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-50); /* oklch(98.4% 0.019 200.873) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-100 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-100); /* oklch(95.6% 0.045 203.388) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-200 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-200); /* oklch(91.7% 0.08 205.041) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-300 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-300); /* oklch(86.5% 0.127 207.078) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-400 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-400); /* oklch(78.9% 0.154 211.53) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-500 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-500); /* oklch(71.5% 0.143 215.221) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-600 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-600); /* oklch(60.9% 0.126 221.723) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-700 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-700); /* oklch(52% 0.105 223.128) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-800 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-800); /* oklch(45% 0.085 224.283) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-900 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-900); /* oklch(39.8% 0.07 227.392) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-cyan-950 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-cyan-950); /* oklch(30.2% 0.056 229.695) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-50 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-50); /* oklch(97.7% 0.013 236.62) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-100 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-100); /* oklch(95.1% 0.026 236.824) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-200 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-200); /* oklch(90.1% 0.058 230.902) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-300 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-300); /* oklch(82.8% 0.111 230.318) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-400 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-400); /* oklch(74.6% 0.16 232.661) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-500 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-500); /* oklch(68.5% 0.169 237.323) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-600 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-600); /* oklch(58.8% 0.158 241.966) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-700 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-700); /* oklch(50% 0.134 242.749) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-800 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-800); /* oklch(44.3% 0.11 240.79) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-900 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-900); /* oklch(39.1% 0.09 240.876) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-sky-950 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-sky-950); /* oklch(29.3% 0.066 243.157) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-50 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-50); /* oklch(97% 0.014 254.604) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-100 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-100); /* oklch(93.2% 0.032 255.585) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-200 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-200); /* oklch(88.2% 0.059 254.128) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-300 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-300); /* oklch(80.9% 0.105 251.813) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-400 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-400); /* oklch(70.7% 0.165 254.624) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-500 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-500); /* oklch(62.3% 0.214 259.815) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-600 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-600); /* oklch(54.6% 0.245 262.881) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-700 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-700); /* oklch(48.8% 0.243 264.376) */ ``` LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-800 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-800); /* oklch(42.4% 0.199 265.638) */ ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 300 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-300` to set the inline start border color to a medium indigo shade (indigo-300). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-300 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-300); /* oklch(78.5% 0.115 274.713) */ ``` ---------------------------------------- TITLE: Tailwind CSS Core Concepts and Base Styles DESCRIPTION: Documents fundamental aspects of using Tailwind CSS, including installation, editor setup, compatibility, upgrade guidance, and core styling principles like utility classes, responsive design, dark mode, and custom style integration. It also covers the Preflight base styles. SOURCE: https://tailwindcss.com/docs/list-style-type LANGUAGE: APIDOC CODE: ``` ### Getting started - Installation: Guide to setting up Tailwind CSS in a project. - Editor setup: Configuration for IDEs to enhance Tailwind development. - Compatibility: Information on browser and environment compatibility. - Upgrade guide: Steps to migrate between Tailwind CSS versions. ### Core concepts - Styling with utility classes: Explains the utility-first approach. - Hover, focus, and other states: How to apply styles based on element states. - Responsive design: Techniques for building responsive layouts. - Dark mode: Implementing dark themes. - Theme variables: Customizing design tokens. - Colors: Working with Tailwind's color palette. - Adding custom styles: Extending Tailwind with custom CSS. - Detecting classes in source files: How Tailwind scans for utility classes. - Functions and directives: Using Tailwind's custom CSS functions and directives. ### Base styles - Preflight: Tailwind's opinionated base styles for cross-browser consistency. ``` ---------------------------------------- TITLE: Tailwind CSS Background Blend Mode HTML Example DESCRIPTION: Demonstrates the application of Tailwind CSS `background-blend-mode` utility classes within HTML elements. This example shows how to combine a background color, a background image, and different blend modes (`bg-blend-multiply`, `bg-blend-soft-light`, `bg-blend-overlay`) to achieve various visual effects. SOURCE: https://tailwindcss.com/docs/background-blend-mode LANGUAGE: HTML CODE: ``` <div class="bg-blue-500 bg-[url(/img/mountains.jpg)] bg-blend-multiply ..."></div><div class="bg-blue-500 bg-[url(/img/mountains.jpg)] bg-blend-soft-light ..."></div><div class="bg-blue-500 bg-[url(/img/mountains.jpg)] bg-blend-overlay ..."></div> ``` ---------------------------------------- TITLE: Start Laravel Mix Build Process DESCRIPTION: This terminal command initiates the Laravel Mix build process, which compiles your assets (including Tailwind CSS) and watches for changes, automatically recompiling as you develop. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/laravel/mix LANGUAGE: bash CODE: ``` npm run watch ``` ---------------------------------------- TITLE: Integrate Tailwind CSS in AdonisJS Edge Template DESCRIPTION: Example `home.edge` template demonstrating how to include compiled CSS and JavaScript assets using `@vite` and apply Tailwind CSS utility classes to HTML elements for styling. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/adonisjs LANGUAGE: HTML CODE: ``` <!doctype html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> @vite(['resources/css/app.css', 'resources/js/app.js']) </head> <body> <h1 class="text-3xl font-bold underline"> Hello world! </h1> </body> </html> ``` ---------------------------------------- TITLE: Configure Tailwind CSS Vite plugin DESCRIPTION: Adds the `@tailwindcss/vite` plugin to the Vite configuration file (`vite.config.ts`). This configuration step tells Vite to process Tailwind CSS during the build and development phases, ensuring utility classes are correctly generated. SOURCE: https://tailwindcss.com/docs/installation LANGUAGE: typescript CODE: ``` import { defineConfig } from 'vite' import tailwindcss from '@tailwindcss/vite' export default defineConfig({ plugins: [ tailwindcss(), ], }) ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 950 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-950` to set the inline start border color to a very deep violet shade (violet-950). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-950 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-950); /* oklch(28.3% 0.141 291.089) */ ``` ---------------------------------------- TITLE: Set Border Start Color to Purple 700 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-purple-700` to set the inline start border color to a darker purple shade (purple-700). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-purple-700 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-purple-700); /* oklch(49.6% 0.265 301.924) */ ``` ---------------------------------------- TITLE: Install Tailwind CSS and PostCSS Dependencies DESCRIPTION: This command installs the necessary npm packages for integrating Tailwind CSS into a project. It includes `tailwindcss`, `@tailwindcss/postcss`, and `postcss` as peer dependencies required for processing Tailwind CSS. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/nextjs LANGUAGE: bash CODE: ``` npm install tailwindcss @tailwindcss/postcss postcss ``` ---------------------------------------- TITLE: Tailwind CSS Interactivity Utilities DESCRIPTION: This section provides Tailwind CSS utility classes for controlling user interaction with elements, including cursor styles, pointer events, resizing behavior, scroll snapping, and user selection. SOURCE: https://tailwindcss.com/docs/installation/tailwind-cli LANGUAGE: APIDOC CODE: ``` accent-color: Utilities for controlling the accent color of UI controls. appearance: Utilities for controlling the native appearance of UI controls. caret-color: Utilities for controlling the color of the text input cursor. color-scheme: Utilities for controlling the color scheme of an element. cursor: Utilities for controlling the cursor style when hovering over an element. field-sizing: Utilities for controlling the field sizing property. pointer-events: Utilities for controlling whether an element reacts to pointer events. resize: Utilities for controlling whether an element can be resized by the user. scroll-behavior: Utilities for controlling the scroll behavior of an element. scroll-margin: Utilities for controlling the scroll margin of an element. scroll-padding: Utilities for controlling the scroll padding of an element. scroll-snap-align: Utilities for controlling the scroll snap align property. scroll-snap-stop: Utilities for controlling the scroll snap stop property. scroll-snap-type: Utilities for controlling the scroll snap type property. touch-action: Utilities for controlling how an element's touch events are handled. user-select: Utilities for controlling whether the user can select text. will-change: Utilities for informing the browser about expected changes to an element. ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 600 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-600` to set the inline start border color to a dark violet shade (violet-600). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-600 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-600); /* oklch(54.1% 0.281 293.009) */ ``` ---------------------------------------- TITLE: Tailwind CSS Core Properties Reference DESCRIPTION: This section provides a comprehensive reference for various Tailwind CSS utility classes and their corresponding CSS properties, categorized by functionality. It details properties related to visual effects, image filters, table styling, animation and transitions, 2D/3D transformations, user interactivity, SVG elements, and accessibility features. SOURCE: https://tailwindcss.com/docs/installation/using-vite LANGUAGE: APIDOC CODE: ``` Effects: - box-shadow: Controls the shadow effect around an element's frame. - text-shadow: Controls the shadow effect around text. - opacity: Sets the transparency level of an element. - mix-blend-mode: Describes how an element's content should blend with its background. - background-blend-mode: Describes how an element's background images should blend with each other and with the element's background color. - mask-clip: Specifies the area which is affected by the mask. - mask-composite: Represents the compositing operation used on the current mask layer with the mask layers below it. - mask-image: Sets the image that is used as a mask layer for an element. - mask-mode: Specifies whether the mask image is treated as a luminance mask or an alpha mask. - mask-origin: Specifies the origin of the mask image. - mask-position: Sets the initial position for each background image. - mask-repeat: Sets how mask images are repeated. - mask-size: Specifies the size of the mask images. - mask-type: Specifies whether a mask element is treated as a luminance mask or an alpha mask. Filters: - filter: Applies graphical effects like blur, brightness, contrast, drop-shadow, grayscale, hue-rotate, invert, saturate, and sepia to an element. - blur: Applies a Gaussian blur to the input image. - brightness: Applies a linear multiplier to the input image, making it brighter or darker. - contrast: Adjusts the contrast of the input image. - drop-shadow: Applies a drop shadow to the input image. - grayscale: Converts the input image to grayscale. - hue-rotate: Applies a hue rotation to the input image. - invert: Inverts the colors of the input image. - saturate: Saturates or desaturates the input image. - sepia: Converts the input image to sepia. - backdrop-filter: Applies graphical effects to the area behind an element. - blur: Applies a Gaussian blur to the backdrop. - brightness: Adjusts the brightness of the backdrop. - contrast: Adjusts the contrast of the backdrop. - grayscale: Converts the backdrop to grayscale. - hue-rotate: Applies a hue rotation to the backdrop. - invert: Inverts the colors of the backdrop. - opacity: Sets the transparency level of the backdrop. - saturate: Saturates or desaturates the backdrop. - sepia: Converts the backdrop to sepia. Tables: - border-collapse: Sets whether table borders are collapsed into a single border or separated. - border-spacing: Sets the distance between the borders of adjacent cells. - table-layout: Sets the algorithm used to lay out table cells, rows, and columns. - caption-side: Specifies the placement of a table caption. Transitions & Animation: - transition-property: Specifies the CSS properties to which a transition effect should be applied. - transition-behavior: Defines whether a transition should be skipped when the element is first rendered. - transition-duration: Specifies how many seconds or milliseconds a transition effect takes to complete. - transition-timing-function: Specifies the speed curve of the transition effect. - transition-delay: Specifies when the transition effect will start. - animation: A shorthand property for all the animation properties. Transforms: - backface-visibility: Defines whether or not the back face of an element is visible when facing the user. - perspective: Specifies the distance between the user and the z=0 plane, to give a 3D-positioned element some perspective. - perspective-origin: Sets the origin for the perspective property. - rotate: Rotates an element around a fixed point. - scale: Scales an element up or down. - skew: Skews an element along the X and Y axes. - transform: Applies a 2D or 3D transformation to an element. - transform-origin: Sets the origin for transformations of an element. - transform-style: Specifies how nested elements are rendered in 3D space. - translate: Moves an element from its current position. Interactivity: - accent-color: Sets the accent color for user-interface controls generated by the element. - appearance: Controls the native appearance of UI widgets. - caret-color: Sets the color of the caret (text input cursor). - color-scheme: Allows an element to indicate which color schemes it is comfortable with. - cursor: Specifies the type of cursor to be displayed when pointing over an element. - field-sizing: Controls the sizing of form fields. - pointer-events: Sets under what circumstances (if any) a graphic element can be the target of pointer events. - resize: Specifies whether an element is resizable by the user. - scroll-behavior: Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSS scroll-snap positioning. - scroll-margin: Sets the margin of the scroll snap area around the box. - scroll-padding: Sets the padding of the scroll snap area around the box. - scroll-snap-align: Specifies the snap position for an element within its scroll container. - scroll-snap-stop: Specifies whether the scroll container must snap to a snap point or can pass over it. - scroll-snap-type: Specifies how strictly snap points are enforced on the scroll container. - touch-action: Determines how a touch event (or series of events) can be handled by the browser. - user-select: Controls whether the user can select text. - will-change: Hints to browsers how an element is expected to change. SVG: - fill: Sets the color of the interior of an SVG shape. - stroke: Sets the color of the outline of an SVG shape. - stroke-width: Sets the width of the outline of an SVG shape. Accessibility: - forced-color-adjust: Controls whether the user agent can make adjustments to colors to improve readability in forced color modes. ``` ---------------------------------------- TITLE: Create a new Astro project DESCRIPTION: Initializes a new Astro project using the `create astro` CLI tool and navigates into the newly created project directory, setting up the basic project structure. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/astro LANGUAGE: Terminal CODE: ``` npm create astro@latest my-project cd my-project ``` ---------------------------------------- TITLE: Set Border Start Color to Purple 200 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-purple-200` to set the inline start border color to a light-medium purple shade (purple-200). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-purple-200 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-purple-200); /* oklch(90.2% 0.063 306.703) */ ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 700 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-700` to set the inline start border color to a darker violet shade (violet-700). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-700 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-700); /* oklch(49.1% 0.27 292.581) */ ``` ---------------------------------------- TITLE: Start the Gatsby development server DESCRIPTION: Executes the `gatsby develop` command to start the local development server. This command compiles your Gatsby project, including Tailwind CSS, and provides a live-reloading environment for development. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/gatsby LANGUAGE: bash CODE: ``` gatsby develop ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 500 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-500` to set the inline start border color to a standard indigo shade (indigo-500). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-500 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-500); /* oklch(58.5% 0.233 277.117) */ ``` ---------------------------------------- TITLE: HTML Example: Responsive Tailwind CSS transition-delay DESCRIPTION: Demonstrates applying responsive `transition-delay` utilities using breakpoint variants like `md:` to change the delay based on screen size. SOURCE: https://tailwindcss.com/docs/transition-delay LANGUAGE: HTML CODE: ``` <button class="delay-150 md:delay-300 ..."> <!-- ... --></button> ``` ---------------------------------------- TITLE: Integrate Tailwind CSS utility classes in HTML DESCRIPTION: This HTML structure demonstrates how to link the compiled CSS file and apply Tailwind CSS utility classes directly to HTML elements. The example shows styling a heading with `text-3xl`, `font-bold`, and `underline` classes. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/parcel LANGUAGE: html CODE: ``` <!doctype html><html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link href="./index.css" type="text/css" rel="stylesheet" /> </head> <body> <h1 class="text-3xl font-bold underline"> Hello world! </h1> </body></html> ``` ---------------------------------------- TITLE: Configure PostCSS Plugin for Tailwind CSS DESCRIPTION: This JavaScript configuration snippet for `postcss.config.mjs` adds the `@tailwindcss/postcss` plugin, enabling PostCSS to process Tailwind CSS directives. SOURCE: https://tailwindcss.com/docs/installation/using-postcss LANGUAGE: javascript CODE: ``` export default { plugins: { "@tailwindcss/postcss": {}, } } ``` ---------------------------------------- TITLE: Apply Responsive place-self Utilities in Tailwind CSS DESCRIPTION: This HTML example illustrates how to apply `place-self` utilities responsively using Tailwind CSS breakpoint variants. By prefixing `place-self-end` with `md:`, the item will align to the start by default and then align to the end only on medium screen sizes and above, adapting its position based on the viewport. SOURCE: https://tailwindcss.com/docs/place-self LANGUAGE: html CODE: ``` <div class="place-self-start md:place-self-end ..."> <!-- ... --></div> ``` ---------------------------------------- TITLE: Set Border Start Color to Purple 900 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-purple-900` to set the inline start border color to a deep purple shade (purple-900). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` undefined ``` ---------------------------------------- TITLE: Apply Basic Opacity to HTML Buttons DESCRIPTION: Demonstrates how to apply different levels of opacity to HTML button elements using Tailwind CSS `opacity-<number>` utility classes. SOURCE: https://tailwindcss.com/docs/opacity LANGUAGE: HTML CODE: ``` <button class="bg-indigo-500 opacity-100 ..."></button><button class="bg-indigo-500 opacity-75 ..."></button><button class="bg-indigo-500 opacity-50 ..."></button><button class="bg-indigo-500 opacity-25 ..."></button> ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 50 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-50` to set the inline start border color to a very light violet shade (violet-50). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-50 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-50); /* oklch(96.9% 0.016 293.756) */ ``` ---------------------------------------- TITLE: Apply Responsive Tailwind CSS background-origin DESCRIPTION: Illustrates how to use responsive design with Tailwind CSS `background-origin` utilities by applying different origin styles based on screen size using breakpoint variants like `md:`. SOURCE: https://tailwindcss.com/docs/background-origin LANGUAGE: html CODE: ``` <div class="bg-origin-border md:bg-origin-padding ..."> <!-- ... --></div> ``` ---------------------------------------- TITLE: Install Webpack Encore and related Symfony UX bundles DESCRIPTION: Removes existing Symfony UX bundles (turbo, asset-mapper, stimulus-bundle) and then installs Webpack Encore, along with symfony/ux-turbo and symfony/stimulus-bundle, to manage frontend assets in the Symfony project. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/symfony LANGUAGE: Shell CODE: ``` composer remove symfony/ux-turbo symfony/asset-mapper symfony/stimulus-bundle composer require symfony/webpack-encore-bundle symfony/ux-turbo symfony/stimulus-bundle ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 900 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-900` to set the inline start border color to a deep violet shade (violet-900). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-900 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-900); /* oklch(38% 0.189 293.745) */ ``` ---------------------------------------- TITLE: Import Tailwind CSS into main CSS file DESCRIPTION: Adds an `@import` rule to your main CSS file to include Tailwind CSS. This line pulls in all of Tailwind's base styles, components, and utilities, making them available for use in your project. SOURCE: https://tailwindcss.com/docs/installation LANGUAGE: css CODE: ``` @import "tailwindcss"; ``` ---------------------------------------- TITLE: Apply Responsive Background Images with Tailwind CSS DESCRIPTION: This example illustrates how to make background image utilities responsive by prefixing them with breakpoint variants like `md:`. This ensures that the utility is only applied at the specified screen size and above, enabling adaptive designs. SOURCE: https://tailwindcss.com/docs/background-image LANGUAGE: html CODE: ``` <div class="from-purple-400 md:from-yellow-500 ..."> <!-- ... --></div> ``` ---------------------------------------- TITLE: HTML Example for Responsive Tailwind CSS transition-behavior DESCRIPTION: Illustrates how to apply responsive `transition-behavior` utilities using breakpoint variants like `md:`. This allows developers to conditionally control transition behavior based on different screen sizes, applying `transition-normal` from medium screens and up. SOURCE: https://tailwindcss.com/docs/transition-behavior LANGUAGE: HTML CODE: ``` <button class="transition-discrete md:transition-normal ..."> <!-- ... --></button> ``` ---------------------------------------- TITLE: Create Next.js Project with TypeScript and ESLint DESCRIPTION: This command initializes a new Next.js application using `create-next-app`. It configures the project with TypeScript, ESLint, and the App Router, then navigates into the newly created project directory. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/nextjs LANGUAGE: bash CODE: ``` npx create-next-app@latest my-project --typescript --eslint --app cd my-project ``` ---------------------------------------- TITLE: Set Border Start Color to Purple 300 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-purple-300` to set the inline start border color to a medium purple shade (purple-300). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-purple-300 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-purple-300); /* oklch(82.7% 0.119 306.383) */ ``` ---------------------------------------- TITLE: Tailwind CSS Accessibility Utilities DESCRIPTION: This section provides Tailwind CSS utility classes related to accessibility, specifically for controlling forced color adjustments. SOURCE: https://tailwindcss.com/docs/installation/tailwind-cli LANGUAGE: APIDOC CODE: ``` forced-color-adjust: Utilities for controlling the forced color adjust property. ``` ---------------------------------------- TITLE: Install Tailwind CSS and PostCSS Dependencies DESCRIPTION: Installs the necessary npm packages for Tailwind CSS, including `@tailwindcss/postcss`, `postcss`, and `postcss-loader`, which are peer dependencies required for integrating Tailwind CSS with PostCSS in a Rspack project. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/rspack/vue LANGUAGE: Terminal CODE: ``` npm install tailwindcss @tailwindcss/postcss postcss postcss-loader ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 300 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-300` to set the inline start border color to a medium violet shade (violet-300). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-300 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-300); /* oklch(81.1% 0.111 293.571) */ ``` ---------------------------------------- TITLE: Configure Tailwind CSS Vite Plugin DESCRIPTION: Add the `@tailwindcss/vite` plugin to your Vite configuration file (`vite.config.ts`). This step is crucial for Vite to correctly process and integrate Tailwind CSS during development and build cycles. SOURCE: https://tailwindcss.com/docs/installation/using-vite LANGUAGE: TypeScript CODE: ``` import { defineConfig } from 'vite' import tailwindcss from '@tailwindcss/vite' export default defineConfig({ plugins: [ tailwindcss(), ], }) ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 800 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-800` to set the inline start border color to a very dark indigo shade (indigo-800). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-800 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-800); /* oklch(39.8% 0.195 277.366) */ ``` ---------------------------------------- TITLE: Import Application Stylesheet in SvelteKit Layout DESCRIPTION: Svelte component code for `src/routes/+layout.svelte` to import the `app.css` file, ensuring Tailwind CSS styles are applied globally across the SvelteKit application. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/sveltekit LANGUAGE: HTML CODE: ``` <script> let { children } = $props(); import "../app.css"; </script> {@render children()} ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 100 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-100` to set the inline start border color to a light indigo shade (indigo-100). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-100 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-100); /* oklch(93% 0.034 272.788) */ ``` ---------------------------------------- TITLE: Import Tailwind CSS into Main CSS File DESCRIPTION: This CSS snippet demonstrates how to import Tailwind CSS into your project's main CSS file. This import statement pulls in all of Tailwind's base styles, components, and utilities. SOURCE: https://tailwindcss.com/docs/installation/tailwind-cli LANGUAGE: CSS CODE: ``` @import "tailwindcss"; ``` ---------------------------------------- TITLE: Configure Tailwind CSS Vite Plugin DESCRIPTION: This JavaScript code snippet demonstrates how to add the `@tailwindcss/vite` plugin to your Vite configuration file. This step is crucial for Vite to correctly process and compile Tailwind CSS directives. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/laravel/vite LANGUAGE: JavaScript CODE: ``` import { defineConfig } from 'vite' import tailwindcss from '@tailwindcss/vite' export default defineConfig({ plugins: [ tailwindcss(), // … ], }) ``` ---------------------------------------- TITLE: Import Tailwind CSS into Application Stylesheet DESCRIPTION: This CSS snippet shows how to import Tailwind CSS into your main application stylesheet (`app.css`). It also includes the `@source` directive to tell Tailwind CSS to scan your `resources/views` directory for utility classes, ensuring all used classes are included in the final build. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/laravel/vite LANGUAGE: CSS CODE: ``` @import "tailwindcss"; @source "../views"; ``` ---------------------------------------- TITLE: Set Border Start Color to Blue 950 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-blue-950` to set the inline start border color to a very dark blue shade (blue-950). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-blue-950 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-blue-950); /* oklch(28.2% 0.091 267.935) */ ``` ---------------------------------------- TITLE: Tailwind CSS Responsive Profile Card with Hover States DESCRIPTION: This HTML example illustrates a more advanced profile card component built with Tailwind CSS, demonstrating responsive design and interactive states. It uses responsive prefixes like `sm:flex-row` for layout changes on small screens and state variants like `hover:bg-purple-600` and `active:bg-purple-700` for button styling, showcasing how complex UIs can be constructed purely with utility classes. SOURCE: https://tailwindcss.com/docs/styling-with-utility-classes LANGUAGE: HTML CODE: ``` <div class="flex flex-col gap-2 p-8 sm:flex-row sm:items-center sm:gap-6 sm:py-4 ..."> <img class="mx-auto block h-24 rounded-full sm:mx-0 sm:shrink-0" src="/img/erin-lindford.jpg" alt="" /> <div class="space-y-2 text-center sm:text-left"> <div class="space-y-0.5"> <p class="text-lg font-semibold text-black">Erin Lindford</p> <p class="font-medium text-gray-500">Product Engineer</p> </div> <button class="border-purple-200 text-purple-600 hover:border-transparent hover:bg-purple-600 hover:text-white active:bg-purple-700 ..."> Message </button> </div></div> ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 400 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-400` to set the inline start border color to a medium-dark indigo shade (indigo-400). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-400 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-400); /* oklch(67.3% 0.182 276.935) */ ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 200 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-200` to set the inline start border color to a light-medium violet shade (violet-200). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-200 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-200); /* oklch(89.4% 0.057 293.283) */ ``` ---------------------------------------- TITLE: Add Tailwind plugin to Phoenix dependencies DESCRIPTION: Adds the Tailwind plugin to the `mix.exs` file's `deps` function, allowing Phoenix to manage the Tailwind dependency. Run `mix deps.get` after this. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/phoenix LANGUAGE: Elixir CODE: ``` defp deps do [ # … {:tailwind, "~> 0.3", runtime: Mix.env() == :dev}, ]end ``` ---------------------------------------- TITLE: HTML Examples for Tailwind CSS align-content Utilities DESCRIPTION: Demonstrates the practical application of various Tailwind CSS `align-content` utility classes within HTML, showing how to position rows in grid containers using `content-start`, `content-center`, `content-end`, and `content-between`. SOURCE: https://tailwindcss.com/docs/align-content LANGUAGE: html CODE: ``` <div class="grid h-56 grid-cols-3 content-start gap-4 ..."> <div>01</div> <div>02</div> <div>03</div> <div>04</div> <div>05</div> </div> ``` LANGUAGE: html CODE: ``` <div class="grid h-56 grid-cols-3 content-center gap-4 ..."> <div>01</div> <div>02</div> <div>03</div> <div>04</div> <div>05</div> </div> ``` LANGUAGE: html CODE: ``` <div class="grid h-56 grid-cols-3 content-end gap-4 ..."> <div>01</div> <div>02</div> <div>03</div> <div>04</div> <div>05</div> </div> ``` LANGUAGE: html CODE: ``` <div class="grid h-56 grid-cols-3 content-between gap-4 ..."> <div>01</div> <div>02</div> <div>03</div> <div>04</div> <div>05</div> </div> ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 600 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-600` to set the inline start border color to a dark indigo shade (indigo-600). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-600 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-600); /* oklch(51.1% 0.262 276.966) */ ``` ---------------------------------------- TITLE: Configure Tailwind CSS version and asset paths in Phoenix DESCRIPTION: Configures the Tailwind plugin in `config/config.exs`, specifying the Tailwind CSS version and defining input/output paths for asset compilation within the Phoenix project. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/phoenix LANGUAGE: Elixir CODE: ``` config :tailwind, version: "4.1.10", myproject: [ args: ~w( --input=assets/css/app.css --output=priv/static/assets/app.css ), cd: Path.expand("..", __DIR__) ] ``` ---------------------------------------- TITLE: Web API: window.matchMedia() and localStorage DESCRIPTION: This API documentation describes the `window.matchMedia()` method for querying media features and `localStorage` for client-side data persistence, both crucial for implementing dynamic theme switching based on user preference and system settings. SOURCE: https://tailwindcss.com/docs/dark-mode LANGUAGE: APIDOC CODE: ``` window.matchMedia(mediaQueryString) - Description: Returns a new `MediaQueryList` object that can be used to determine if the document matches the passed media query string, as well as to monitor the document to see when it changes to match (or unmatch) the media query. - Parameters: - `mediaQueryString`: (string) A string representing the media query to parse. - Returns: `MediaQueryList` object. - Example Usage: `window.matchMedia("(prefers-color-scheme: dark)").matches` - Checks if the user's system prefers a dark color scheme. localStorage - Description: A read-only property that allows you to access a `Storage` object for the `Document`'s origin; the stored data is saved across browser sessions. - Methods: - `localStorage.setItem(key, value)`: Adds or updates a key-value pair. - `key`: (string) The name of the key. - `value`: (string) The value to store. - `localStorage.getItem(key)`: Retrieves the value associated with a key. - `key`: (string) The name of the key. - Returns: (string | null) The value if found, otherwise `null`. - `localStorage.removeItem(key)`: Removes a key-value pair. - `key`: (string) The name of the key to remove. - Example Usage: `localStorage.theme = "dark";` `localStorage.getItem("theme");` `localStorage.removeItem("theme");` ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 400 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-400` to set the inline start border color to a medium-dark violet shade (violet-400). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-400 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-400); /* oklch(70.2% 0.183 293.541) */ ``` ---------------------------------------- TITLE: Import Tailwind CSS into Main CSS File DESCRIPTION: Add an `@import` statement for 'tailwindcss' in your main CSS file. This line ensures that all Tailwind CSS utility classes are included and available in your project's stylesheets. SOURCE: https://tailwindcss.com/docs/installation/using-vite LANGUAGE: CSS CODE: ``` @import "tailwindcss"; ``` ---------------------------------------- TITLE: Tailwind CSS Table Layout Utilities DESCRIPTION: This section provides Tailwind CSS utility classes for controlling the layout and appearance of HTML tables, including border collapsing, spacing, table layout algorithms, and caption positioning. SOURCE: https://tailwindcss.com/docs/installation/tailwind-cli LANGUAGE: APIDOC CODE: ``` border-collapse: Utilities for controlling whether table borders are collapsed into a single border or separated. border-spacing: Utilities for controlling the distance between the borders of adjacent cells. table-layout: Utilities for controlling the algorithm used to lay out table cells, rows, and columns. caption-side: Utilities for controlling the placement of a table's caption. ``` ---------------------------------------- TITLE: Tailwind CSS Transitions and Animation Utilities DESCRIPTION: This section lists Tailwind CSS utility classes for defining CSS transitions and animations. These include properties for controlling which CSS properties to transition, duration, timing functions, delay, and custom animations. SOURCE: https://tailwindcss.com/docs/installation/tailwind-cli LANGUAGE: APIDOC CODE: ``` transition-property: Utilities for controlling which CSS properties transition. transition-behavior: Utilities for controlling the transition behavior. transition-duration: Utilities for controlling the duration of CSS transitions. transition-timing-function: Utilities for controlling the timing function of CSS transitions. transition-delay: Utilities for controlling the delay of CSS transitions. animation: Utilities for controlling custom CSS animations. ``` ---------------------------------------- TITLE: Set Border Start Color to Purple 600 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-purple-600` to set the inline start border color to a dark purple shade (purple-600). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-purple-600 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-purple-600); /* oklch(55.8% 0.288 302.321) */ ``` ---------------------------------------- TITLE: Apply Tailwind CSS Classes in HTML DESCRIPTION: Demonstrates how to apply Tailwind CSS utility classes directly within an HTML element. This example uses classes like `text-3xl` for font size, `font-bold` for weight, and `underline` for text decoration to style a heading. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/ruby-on-rails LANGUAGE: HTML CODE: ``` <h1 class="text-3xl font-bold underline"> Hello world!</h1> ``` ---------------------------------------- TITLE: Basic HTML Example for Tailwind color-scheme Utilities DESCRIPTION: Demonstrates the application of `scheme-light`, `scheme-dark`, and `scheme-light-dark` utility classes to HTML div elements. This example shows how these classes influence the rendering of an input type='date' field based on the specified color scheme. SOURCE: https://tailwindcss.com/docs/color-scheme LANGUAGE: HTML CODE: ``` <div class="scheme-light ..."> <input type="date" /></div><div class="scheme-dark ..."> <input type="date" /></div><div class="scheme-light-dark ..."> <input type="date" /></div> ``` ---------------------------------------- TITLE: Tailwind CSS Flex Grow Example: Proportional Growth DESCRIPTION: Illustrates the use of `grow-<number>` utilities (e.g., `grow-3`, `grow-7`) to make flex items grow proportionally based on a specified factor, distributing available space relative to each other. SOURCE: https://tailwindcss.com/docs/flex-grow LANGUAGE: HTML CODE: ``` <div class="flex ..."> <div class="size-14 grow-3 ...">01</div> <div class="size-14 grow-7 ...">02</div> <div class="size-14 grow-3 ...">03</div></div> ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 50 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-50` to set the inline start border color to a very light indigo shade (indigo-50). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-50 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-50); /* oklch(96.2% 0.018 272.314) */ ``` ---------------------------------------- TITLE: Set Border Start Color to Purple 100 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-purple-100` to set the inline start border color to a light purple shade (purple-100). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-purple-100 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-purple-100); /* oklch(94.6% 0.033 307.174) */ ``` ---------------------------------------- TITLE: HTML Example: Specifying Grid Columns with Tailwind CSS DESCRIPTION: Demonstrates how to use `grid-cols-<number>` utilities in HTML to create a grid with a specified number of equally sized columns. This example uses `grid-cols-4` to create a four-column grid. SOURCE: https://tailwindcss.com/docs/grid-template-columns LANGUAGE: HTML CODE: ``` <div class="grid grid-cols-4 gap-4"> <div>01</div> <!-- ... --> <div>09</div></div> ``` ---------------------------------------- TITLE: Add Custom CSS with Tailwind Play CDN DESCRIPTION: Illustrates how to define custom CSS variables and styles within an HTML file using a `<style type="text/tailwindcss">` block. This allows leveraging Tailwind's CSS features, such as `@theme` directives, alongside the Play CDN for extended styling capabilities. SOURCE: https://tailwindcss.com/docs/installation/play-cdn LANGUAGE: HTML CODE: ``` <!doctype html><html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> <style type="text/tailwindcss"> @theme { --color-clifford: #da373d; } </style> </head> <body> <h1 class="text-3xl font-bold underline text-clifford"> Hello world! </h1> </body></html> ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 200 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-200` to set the inline start border color to a light-medium indigo shade (indigo-200). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-200 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-200); /* oklch(87% 0.065 274.039) */ ``` ---------------------------------------- TITLE: Tailwind CSS Flex Grow Example: Allowing Items to Grow DESCRIPTION: Demonstrates how to use the `grow` utility class in Tailwind CSS to allow a flex item to expand and fill any remaining space within a flex container. SOURCE: https://tailwindcss.com/docs/flex-grow LANGUAGE: HTML CODE: ``` <div class="flex ..."> <div class="size-14 flex-none ...">01</div> <div class="size-14 grow ...">02</div> <div class="size-14 flex-none ...">03</div></div> ``` ---------------------------------------- TITLE: Set Border Start Color to Purple 50 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-purple-50` to set the inline start border color to a very light purple shade (purple-50). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-purple-50 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-purple-50); /* oklch(97.7% 0.014 308.299) */ ``` ---------------------------------------- TITLE: Set Border Start Color to Indigo 950 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-indigo-950` to set the inline start border color to a very deep indigo shade (indigo-950). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-indigo-950 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-indigo-950); /* oklch(25.7% 0.09 281.288) */ ``` ---------------------------------------- TITLE: HTML Navigation Menu with Tailwind CSS DESCRIPTION: Demonstrates a simple navigation menu structure using Tailwind CSS utility classes. This example is particularly suitable for quick, localized class updates using multi-cursor editing. SOURCE: https://tailwindcss.com/docs/styling-with-utility-classes LANGUAGE: HTML CODE: ``` <nav class="flex justify-center space-x-4"> <a href="/dashboard" class="font-medium rounded-lg px-3 py-2 text-gray-700 hover:bg-gray-100 hover:text-gray-900"> Home </a> <a href="/team" class="font-medium rounded-lg px-3 py-2 text-gray-700 hover:bg-gray-100 hover:text-gray-900"> Team </a> <a href="/projects" class="font-medium rounded-lg px-3 py-2 text-gray-700 hover:bg-gray-100 hover:text-gray-900"> Projects </a> <a href="/reports" class="font-medium rounded-lg px-3 py-2 text-gray-700 hover:bg-gray-100 hover:text-gray-900"> Reports </a></nav> ``` ---------------------------------------- TITLE: HTML Example for Tailwind CSS Blur Utilities DESCRIPTION: Demonstrates the application of various Tailwind CSS blur utility classes to image elements within an HTML structure. This example shows how different blur levels can be applied directly using class names. SOURCE: https://tailwindcss.com/docs/filter-blur LANGUAGE: HTML CODE: ``` <img class="blur-none" src="/img/mountains.jpg" /><img class="blur-sm" src="/img/mountains.jpg" /><img class="blur-lg" src="/img/mountains.jpg" /><img class="blur-2xl" src="/img/mountains.jpg" /> ``` ---------------------------------------- TITLE: Tailwind CSS SVG Utilities DESCRIPTION: This section lists Tailwind CSS utility classes specifically for styling SVG elements, including fill color, stroke color, and stroke width. SOURCE: https://tailwindcss.com/docs/installation/tailwind-cli LANGUAGE: APIDOC CODE: ``` fill: Utilities for controlling the fill color of an SVG element. stroke: Utilities for controlling the stroke color of an SVG element. stroke-width: Utilities for controlling the stroke width of an SVG element. ``` ---------------------------------------- TITLE: Set Border Start Color to Violet 100 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-violet-100` to set the inline start border color to a light violet shade (violet-100). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-violet-100 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-violet-100); /* oklch(94.3% 0.029 294.588) */ ``` ---------------------------------------- TITLE: Tailwind CSS background-clip Responsive Design Example DESCRIPTION: Shows how to apply `background-clip` utilities conditionally based on screen size using responsive variants like `md:`. This allows for different background clipping behaviors to be applied at various breakpoints, adapting to responsive layouts. SOURCE: https://tailwindcss.com/docs/background-clip LANGUAGE: html CODE: ``` <div class="bg-clip-border md:bg-clip-padding ..."> <!-- ... --></div> ``` ---------------------------------------- TITLE: Using custom utility classes in HTML DESCRIPTION: Shows how to apply a custom utility class, defined using the `@utility` directive, directly within HTML markup. This demonstrates the integration of custom utilities into the standard Tailwind workflow. SOURCE: https://tailwindcss.com/docs/adding-custom-styles LANGUAGE: HTML CODE: ``` <div class="content-auto"> <!-- ... --></div> ``` ---------------------------------------- TITLE: Tailwind CSS justify-items-end-safe Example DESCRIPTION: Shows the `justify-items-end-safe` utility class, which aligns grid items to the end of their inline axis, but falls back to the start if there is insufficient space. SOURCE: https://tailwindcss.com/docs/justify-items LANGUAGE: html CODE: ``` <div class="grid grid-flow-col justify-items-end-safe ..."> <div>01</div> <div>02</div> <div>03</div> </div> ``` ---------------------------------------- TITLE: Import Tailwind CSS into your main stylesheet DESCRIPTION: This CSS snippet, placed in your main stylesheet (e.g., `index.css`), imports all of Tailwind CSS's base styles, components, and utilities. This is the entry point for Tailwind CSS into your project's styling. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/parcel LANGUAGE: css CODE: ``` @import "tailwindcss"; ``` ---------------------------------------- TITLE: Set Border Start Color to Purple 400 DESCRIPTION: Applies the Tailwind CSS utility class `border-s-purple-400` to set the inline start border color to a medium-dark purple shade (purple-400). This class compiles to the `border-inline-start-color` CSS property, using a CSS variable for the color value. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS CODE: ``` border-s-purple-400 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-purple-400); /* oklch(71.4% 0.203 305.504) */ ``` ---------------------------------------- TITLE: Apply Tailwind CSS background-origin Utilities DESCRIPTION: Demonstrates the application of `bg-origin-border`, `bg-origin-padding`, and `bg-origin-content` utilities in HTML to control where an element's background is rendered relative to its box model. SOURCE: https://tailwindcss.com/docs/background-origin LANGUAGE: html CODE: ``` <div class="border-4 bg-[url(/img/mountains.jpg)] bg-origin-border p-3 ..."></div><div class="border-4 bg-[url(/img/mountains.jpg)] bg-origin-padding p-3 ..."></div><div class="border-4 bg-[url(/img/mountains.jpg)] bg-origin-content p-3 ..."></div> ``` ---------------------------------------- TITLE: Tailwind CSS Transform Utilities DESCRIPTION: This section covers Tailwind CSS utility classes for applying 2D and 3D transformations to elements, such as rotation, scaling, skewing, and translation. It also includes properties for controlling perspective and transform origins. SOURCE: https://tailwindcss.com/docs/installation/tailwind-cli LANGUAGE: APIDOC CODE: ``` backface-visibility: Utilities for controlling whether or not the back face of an element is visible when rotated. perspective: Utilities for controlling the perspective property. perspective-origin: Utilities for controlling the perspective origin property. rotate: Utilities for rotating elements. scale: Utilities for scaling elements. skew: Utilities for skewing elements. transform: Utilities for applying 2D or 3D transformations to an element. transform-origin: Utilities for controlling the origin of an element's transformation. transform-style: Utilities for controlling how nested elements are rendered in 3D space. translate: Utilities for translating elements. ``` ---------------------------------------- TITLE: Tailwind CSS Opacity Utility Class Reference DESCRIPTION: Documents the `opacity` utility class in Tailwind CSS, detailing its various syntaxes for setting element opacity, including numeric values, custom properties, and arbitrary values. SOURCE: https://tailwindcss.com/docs/opacity LANGUAGE: APIDOC CODE: ``` Class | Styles | --- | --- | `opacity-<number>` | `opacity: <number>%;` | `opacity-(<custom-property>)` | `opacity: var(<custom-property>);` | `opacity-[<value>]` | `opacity: <value>;` ``` ---------------------------------------- TITLE: Install Tailwind CSS and PostCSS dependencies DESCRIPTION: Installs the required npm packages for Tailwind CSS integration, including Tailwind CSS itself, its PostCSS plugin, PostCSS, and postcss-load-config. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/meteor LANGUAGE: bash CODE: ``` npm install tailwindcss @tailwindcss/postcss postcss postcss-load-config ``` ---------------------------------------- TITLE: Tailwind CSS Border Start Color Utility Classes DESCRIPTION: A comprehensive list of Tailwind CSS utility classes used to apply specific colors to the `border-inline-start` property. Each utility class maps to a CSS `border-inline-start-color` property, referencing a CSS variable for the color value and including the Oklch color representation in comments. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: APIDOC CODE: ``` Tailwind CSS Border Start Color Utilities: border-s-fuchsia-800: border-inline-start-color: var(--color-fuchsia-800); /* oklch(45.2% 0.211 324.591) */ border-s-fuchsia-900: border-inline-start-color: var(--color-fuchsia-900); /* oklch(40.1% 0.17 325.612) */ border-s-fuchsia-950: border-inline-start-color: var(--color-fuchsia-950); /* oklch(29.3% 0.136 325.661) */ border-s-pink-50: border-inline-start-color: var(--color-pink-50); /* oklch(97.1% 0.014 343.198) */ border-s-pink-100: border-inline-start-color: var(--color-pink-100); /* oklch(94.8% 0.028 342.258) */ border-s-pink-200: border-inline-start-color: var(--color-pink-200); /* oklch(89.9% 0.061 343.231) */ border-s-pink-300: border-inline-start-color: var(--color-pink-300); /* oklch(82.3% 0.12 346.018) */ border-s-pink-400: border-inline-start-color: var(--color-pink-400); /* oklch(71.8% 0.202 349.761) */ border-s-pink-500: border-inline-start-color: var(--color-pink-500); /* oklch(65.6% 0.241 354.308) */ border-s-pink-600: border-inline-start-color: var(--color-pink-600); /* oklch(59.2% 0.249 0.584) */ border-s-pink-700: border-inline-start-color: var(--color-pink-700); /* oklch(52.5% 0.223 3.958) */ border-s-pink-800: border-inline-start-color: var(--color-pink-800); /* oklch(45.9% 0.187 3.815) */ border-s-pink-900: border-inline-start-color: var(--color-pink-900); /* oklch(40.8% 0.153 2.432) */ border-s-pink-950: border-inline-start-color: var(--color-pink-950); /* oklch(28.4% 0.109 3.907) */ border-s-rose-50: border-inline-start-color: var(--color-rose-50); /* oklch(96.9% 0.015 12.422) */ border-s-rose-100: border-inline-start-color: var(--color-rose-100); /* oklch(94.1% 0.03 12.58) */ border-s-rose-200: border-inline-start-color: var(--color-rose-200); /* oklch(89.2% 0.058 10.001) */ border-s-rose-300: border-inline-start-color: var(--color-rose-300); /* oklch(81% 0.117 11.638) */ border-s-rose-400: border-inline-start-color: var(--color-rose-400); /* oklch(71.2% 0.194 13.428) */ border-s-rose-500: border-inline-start-color: var(--color-rose-500); /* oklch(64.5% 0.246 16.439) */ border-s-rose-600: border-inline-start-color: var(--color-rose-600); /* oklch(58.6% 0.253 17.585) */ border-s-rose-700: border-inline-start-color: var(--color-rose-700); /* oklch(51.4% 0.222 16.935) */ border-s-rose-800: border-inline-start-color: var(--color-rose-800); /* oklch(45.5% 0.188 13.697) */ border-s-rose-900: border-inline-start-color: var(--color-rose-900); /* oklch(41% 0.159 10.272) */ border-s-rose-950: border-inline-start-color: var(--color-rose-950); /* oklch(27.1% 0.105 12.094) */ border-s-slate-50: border-inline-start-color: var(--color-slate-50); /* oklch(98.4% 0.003 247.858) */ border-s-slate-100: border-inline-start-color: var(--color-slate-100); /* oklch(96.8% 0.007 247.896) */ border-s-slate-200: border-inline-start-color: var(--color-slate-200); /* oklch(92.9% 0.013 255.508) */ border-s-slate-300: border-inline-start-color: var(--color-slate-300); /* oklch(86.9% 0.022 252.894) */ border-s-slate-400: border-inline-start-color: var(--color-slate-400); /* oklch(70.4% 0.04 256.788) */ border-s-slate-500: border-inline-start-color: var(--color-slate-500); /* oklch(55.4% 0.046 257.417) */ border-s-slate-600: border-inline-start-color: var(--color-slate-600); /* oklch(44.6% 0.043 257.281) */ border-s-slate-700: border-inline-start-color: var(--color-slate-700); /* oklch(37.2% 0.044 257.287) */ border-s-slate-800: border-inline-start-color: var(--color-slate-800); /* oklch(27.9% 0.041 260.031) */ border-s-slate-900: border-inline-start-color: var(--color-slate-900); /* oklch(20.8% 0.042 265.755) */ border-s-slate-950: border-inline-start-color: var(--color-slate-950); /* oklch(12.9% 0.042 264.695) */ border-s-gray-50: border-inline-start-color: var(--color-gray-50); /* oklch(98.5% 0.002 247.839) */ border-s-gray-100: border-inline-start-color: var(--color-gray-100); /* oklch(96.7% 0.003 264.542) */ border-s-gray-200: border-inline-start-color: var(--color-gray-200); /* oklch(92.8% 0.006 264.531) */ border-s-gray-300: border-inline-start-color: var(--color-gray-300); /* oklch(87.2% 0.01 258.338) */ border-s-gray-400: border-inline-start-color: var(--color-gray-400); /* oklch(70.7% 0.022 261.325) */ border-s-gray-500: border-inline-start-color: var(--color-gray-500); /* oklch(55.1% 0.027 264.364) */ border-s-gray-600: border-inline-start-color: var(--color-gray-600); /* oklch(44.6% 0.03 256.802) */ border-s-gray-700: border-inline-start-color: var(--color-gray-700); /* oklch(37.3% 0.034 259.733) */ border-s-gray-800: border-inline-start-color: var(--color-gray-800); /* oklch(27.8% 0.033 256.848) */ ``` ---------------------------------------- TITLE: Apply place-items-start in Tailwind CSS Grid DESCRIPTION: Demonstrates the usage of the `place-items-start` utility class in Tailwind CSS to align grid items to the start of their grid areas on both axes. This snippet shows a basic grid container with six items. SOURCE: https://tailwindcss.com/docs/place-items LANGUAGE: HTML CODE: ``` <div class="grid grid-cols-3 place-items-start gap-4 ..."> <div>01</div> <div>02</div> <div>03</div> <div>04</div> <div>05</div> <div>06</div></div> ``` ---------------------------------------- TITLE: Tailwind CSS Border Start Color Utility Classes and CSS Output DESCRIPTION: This snippet provides a comprehensive list of Tailwind CSS utility classes for `border-inline-start-color` and their corresponding CSS outputs. Each utility class directly sets the `border-inline-start-color` property using a CSS variable that references a specific color from the Tailwind CSS palette, along with its Oklch color representation in comments. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: Tailwind CSS Class CODE: ``` border-s-amber-800 border-s-amber-900 border-s-amber-950 border-s-yellow-50 border-s-yellow-100 border-s-yellow-200 border-s-yellow-300 border-s-yellow-400 border-s-yellow-500 border-s-yellow-600 border-s-yellow-700 border-s-yellow-800 border-s-yellow-900 border-s-yellow-950 border-s-lime-50 border-s-lime-100 border-s-lime-200 border-s-lime-300 border-s-lime-400 border-s-lime-500 border-s-lime-600 border-s-lime-700 border-s-lime-800 border-s-lime-900 border-s-lime-950 border-s-green-50 border-s-green-100 border-s-green-200 border-s-green-300 border-s-green-400 border-s-green-500 border-s-green-600 border-s-green-700 border-s-green-800 border-s-green-900 border-s-green-950 border-s-emerald-50 border-s-emerald-100 border-s-emerald-200 border-s-emerald-300 border-s-emerald-400 border-s-emerald-500 border-s-emerald-600 border-s-emerald-700 ``` LANGUAGE: CSS CODE: ``` border-inline-start-color: var(--color-amber-800); /* oklch(47.3% 0.137 46.201) */ border-inline-start-color: var(--color-amber-900); /* oklch(41.4% 0.112 45.904) */ border-inline-start-color: var(--color-amber-950); /* oklch(27.9% 0.077 45.635) */ border-inline-start-color: var(--color-yellow-50); /* oklch(98.7% 0.026 102.212) */ border-inline-start-color: var(--color-yellow-100); /* oklch(97.3% 0.071 103.193) */ border-inline-start-color: var(--color-yellow-200); /* oklch(94.5% 0.129 101.54) */ border-inline-start-color: var(--color-yellow-300); /* oklch(90.5% 0.182 98.111) */ border-inline-start-color: var(--color-yellow-400); /* oklch(85.2% 0.199 91.936) */ border-inline-start-color: var(--color-yellow-500); /* oklch(79.5% 0.184 86.047) */ border-inline-start-color: var(--color-yellow-600); /* oklch(68.1% 0.162 75.834) */ border-inline-start-color: var(--color-yellow-700); /* oklch(55.4% 0.135 66.442) */ border-inline-start-color: var(--color-yellow-800); /* oklch(47.6% 0.114 61.907) */ border-inline-start-color: var(--color-yellow-900); /* oklch(42.1% 0.095 57.708) */ border-inline-start-color: var(--color-yellow-950); /* oklch(28.6% 0.066 53.813) */ border-inline-start-color: var(--color-lime-50); /* oklch(98.6% 0.031 120.757) */ border-inline-start-color: var(--color-lime-100); /* oklch(96.7% 0.067 122.328) */ border-inline-start-color: var(--color-lime-200); /* oklch(93.8% 0.127 124.321) */ border-inline-start-color: var(--color-lime-300); /* oklch(89.7% 0.196 126.665) */ border-inline-start-color: var(--color-lime-400); /* oklch(84.1% 0.238 128.85) */ border-inline-start-color: var(--color-lime-500); /* oklch(76.8% 0.233 130.85) */ border-inline-start-color: var(--color-lime-600); /* oklch(64.8% 0.2 131.684) */ border-inline-start-color: var(--color-lime-700); /* oklch(53.2% 0.157 131.589) */ border-inline-start-color: var(--color-lime-800); /* oklch(45.3% 0.124 130.933) */ border-inline-start-color: var(--color-lime-900); /* oklch(40.5% 0.101 131.063) */ border-inline-start-color: var(--color-lime-950); /* oklch(27.4% 0.072 132.109) */ border-inline-start-color: var(--color-green-50); /* oklch(98.2% 0.018 155.826) */ border-inline-start-color: var(--color-green-100); /* oklch(96.2% 0.044 156.743) */ border-inline-start-color: var(--color-green-200); /* oklch(92.5% 0.084 155.995) */ border-inline-start-color: var(--color-green-300); /* oklch(87.1% 0.15 154.449) */ border-inline-start-color: var(--color-green-400); /* oklch(79.2% 0.209 151.711) */ border-inline-start-color: var(--color-green-500); /* oklch(72.3% 0.219 149.579) */ border-inline-start-color: var(--color-green-600); /* oklch(62.7% 0.194 149.214) */ border-inline-start-color: var(--color-green-700); /* oklch(52.7% 0.154 150.069) */ border-inline-start-color: var(--color-green-800); /* oklch(44.8% 0.119 151.328) */ border-inline-start-color: var(--color-green-900); /* oklch(39.3% 0.095 152.535) */ border-inline-start-color: var(--color-green-950); /* oklch(26.6% 0.065 152.934) */ border-inline-start-color: var(--color-emerald-50); /* oklch(97.9% 0.021 166.113) */ border-inline-start-color: var(--color-emerald-100); /* oklch(95% 0.052 163.051) */ border-inline-start-color: var(--color-emerald-200); /* oklch(90.5% 0.093 164.15) */ border-inline-start-color: var(--color-emerald-300); /* oklch(84.5% 0.143 164.978) */ border-inline-start-color: var(--color-emerald-400); /* oklch(76.5% 0.177 163.223) */ border-inline-start-color: var(--color-emerald-500); /* oklch(69.6% 0.17 162.48) */ border-inline-start-color: var(--color-emerald-600); /* oklch(59.6% 0.145 163.225) */ border-inline-start-color: var(--color-emerald-700); /* oklch(50.8% 0.118 165.612) */ ``` ---------------------------------------- TITLE: Tailwind CSS Utility Classes Reference DESCRIPTION: A comprehensive reference of Tailwind CSS utility classes categorized by their functional areas. These classes provide direct control over various CSS properties for rapid UI development, covering visual effects, filtering, table styling, animation, transformations, user interaction, SVG properties, and accessibility features. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/laravel/vite LANGUAGE: APIDOC CODE: ``` Effects: - box-shadow - text-shadow - opacity - mix-blend-mode - background-blend-mode - mask-clip - mask-composite - mask-image - mask-mode - mask-origin - mask-position - mask-repeat - mask-size - mask-type Filters: - filter - blur - brightness - contrast - drop-shadow - grayscale - hue-rotate - invert - saturate - sepia - backdrop-filter - blur - brightness - contrast - grayscale - hue-rotate - invert - opacity - saturate - sepia Tables: - border-collapse - border-spacing - table-layout - caption-side Transitions & Animation: - transition-property - transition-behavior - transition-duration - transition-timing-function - transition-delay - animation Transforms: - backface-visibility - perspective - perspective-origin - rotate - scale - skew - transform - transform-origin - transform-style - translate Interactivity: - accent-color - appearance - caret-color - color-scheme - cursor - field-sizing - pointer-events - resize - scroll-behavior - scroll-margin - scroll-padding - scroll-snap-align - scroll-snap-stop - scroll-snap-type - touch-action - user-select - will-change SVG: - fill - stroke - stroke-width Accessibility: - forced-color-adjust ``` ---------------------------------------- TITLE: Implement responsive flex basis with Tailwind CSS breakpoints DESCRIPTION: This HTML example demonstrates how to apply responsive `flex-basis` utilities using breakpoint variants like `md:`. This allows the initial size of flex items to change based on screen size, ensuring adaptive layouts for different devices. SOURCE: https://tailwindcss.com/docs/flex-basis LANGUAGE: html CODE: ``` <div class="flex flex-row"> <div class="basis-1/4 md:basis-1/3">01</div> <div class="basis-1/4 md:basis-1/3">02</div> <div class="basis-1/2 md:basis-1/3">03</div></div> ``` ---------------------------------------- TITLE: Import Tailwind CSS into Application Stylesheet DESCRIPTION: Adds an `@import` statement for Tailwind CSS within the main application stylesheet (`./app/app.css`). This directive pulls in all of Tailwind's base styles, components, and utilities. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/emberjs LANGUAGE: CSS CODE: ``` @import "tailwindcss"; ``` ---------------------------------------- TITLE: Tailwind CSS background-clip Basic Usage Example DESCRIPTION: Demonstrates the application of `bg-clip-border`, `bg-clip-padding`, and `bg-clip-content` utilities to control the background bounding box of div elements, showcasing how the background is clipped relative to the border, padding, or content box. SOURCE: https://tailwindcss.com/docs/background-clip LANGUAGE: html CODE: ``` <div class="border-4 bg-indigo-500 bg-clip-border p-3"></div><div class="border-4 bg-indigo-500 bg-clip-padding p-3"></div><div class="border-4 bg-indigo-500 bg-clip-content p-3"></div> ``` ---------------------------------------- TITLE: CSS Equivalent for Tailwind Arbitrary Variant DESCRIPTION: Shows the simplified CSS output for an arbitrary variant, illustrating a complex sibling selector applied via Tailwind's arbitrary variant syntax. SOURCE: https://tailwindcss.com/docs/styling-with-utility-classes LANGUAGE: CSS CODE: ``` div > [data-active] + span { color: var(--color-blue-600);} ``` ---------------------------------------- TITLE: HTML Example: Resizing Image to Cover Container with object-cover DESCRIPTION: Demonstrates how to use the `object-cover` utility class in HTML to make an image cover its container while preserving its aspect ratio, potentially cropping parts of the image. SOURCE: https://tailwindcss.com/docs/object-fit LANGUAGE: HTML CODE: ``` <img class="h-48 w-96 object-cover ..." src="/img/mountains.jpg" /> ``` ---------------------------------------- TITLE: Align Grid Items to Start with Tailwind CSS place-content-start DESCRIPTION: Illustrates the use of the `place-content-start` utility class in Tailwind CSS to pack grid items against the start of the block axis within a grid container. This aligns content to the top or left, depending on the writing mode. SOURCE: https://tailwindcss.com/docs/place-content LANGUAGE: HTML CODE: ``` <div class="grid h-48 grid-cols-2 place-content-start gap-4 ..."> <div>01</div> <div>02</div> <div>03</div> <div>04</div> </div> ``` ---------------------------------------- TITLE: Import Tailwind CSS into application stylesheet DESCRIPTION: Adds an `@import` rule to `./assets/css/app.css` to include the Tailwind CSS framework, making its utility classes available in the project. SOURCE: https://tailwindcss.com/docs/installation/framework-guides/phoenix LANGUAGE: CSS CODE: ``` @import "tailwindcss"; ``` ---------------------------------------- TITLE: HTML Example for Tailwind CSS mask-composite Basic Usage DESCRIPTION: Demonstrates the application of different `mask-composite` utilities (`mask-add`, `mask-subtract`, `mask-intersect`, `mask-exclude`) to HTML div elements. This example shows how multiple masks, defined using arbitrary values, interact based on the chosen composite mode. SOURCE: https://tailwindcss.com/docs/mask-composite LANGUAGE: HTML CODE: ``` <div class="mask-add mask-[url(/img/circle.png),url(/img/circle.png)] mask-[position:30%_50%,70%_50%] bg-[url(/img/mountains.jpg)]"></div><div class="mask-subtract mask-[url(/img/circle.png),url(/img/circle.png)] mask-[position:30%_50%,70%_50%] bg-[url(/img/mountains.jpg)]"></div><div class="mask-intersect mask-[url(/img/circle.png),url(/img/circle.png)] mask-[position:30%_50%,70%_50%] bg-[url(/img/mountains.jpg)]"></div><div class="mask-exclude mask-[url(/img/circle.png),url(/img/circle.png)] mask-[position:30%_50%,70%_50%] bg-[url(/img/mountains.jpg)]"></div> ``` ---------------------------------------- TITLE: HTML Example: Implementing a Subgrid with Tailwind CSS DESCRIPTION: Illustrates the use of the `grid-cols-subgrid` utility in HTML. This utility allows a nested grid to adopt the column tracks defined by its parent grid, ensuring alignment and consistency. SOURCE: https://tailwindcss.com/docs/grid-template-columns LANGUAGE: HTML CODE: ``` <div class="grid grid-cols-4 gap-4"> <div>01</div> <!-- ... --> <div>05</div> <div class="col-span-3 grid grid-cols-subgrid gap-4"> <div class="col-start-2">06</div> </div></div> ``` ---------------------------------------- TITLE: Tailwind CSS border-s- Utility Classes for Inline Start Border Color DESCRIPTION: These Tailwind CSS utility classes set the `border-inline-start-color` property, allowing control over the logical start edge border color. They map to various predefined color palettes (gray, zinc, neutral, stone) and support custom values via arbitrary properties or square bracket notation. SOURCE: https://tailwindcss.com/docs/border-color LANGUAGE: APIDOC CODE: ``` border-s-gray-900: border-inline-start-color: var(--color-gray-900); /* oklch(21% 0.034 264.665) */ border-s-gray-950: border-inline-start-color: var(--color-gray-950); /* oklch(13% 0.028 261.692) */ border-s-zinc-50: border-inline-start-color: var(--color-zinc-50); /* oklch(98.5% 0 0) */ border-s-zinc-100: border-inline-start-color: var(--color-zinc-100); /* oklch(96.7% 0.001 286.375) */ border-s-zinc-200: border-inline-start-color: var(--color-zinc-200); /* oklch(92% 0.004 286.32) */ border-s-zinc-300: border-inline-start-color: var(--color-zinc-300); /* oklch(87.1% 0.006 286.286) */ border-s-zinc-400: border-inline-start-color: var(--color-zinc-400); /* oklch(70.5% 0.015 286.067) */ border-s-zinc-500: border-inline-start-color: var(--color-zinc-500); /* oklch(55.2% 0.016 285.938) */ border-s-zinc-600: border-inline-start-color: var(--color-zinc-600); /* oklch(44.2% 0.017 285.786) */ border-s-zinc-700: border-inline-start-color: var(--color-zinc-700); /* oklch(37% 0.013 285.805) */ border-s-zinc-800: border-inline-start-color: var(--color-zinc-800); /* oklch(27.4% 0.006 286.033) */ border-s-zinc-900: border-inline-start-color: var(--color-zinc-900); /* oklch(21% 0.006 285.885) */ border-s-zinc-950: border-inline-start-color: var(--color-zinc-950); /* oklch(14.1% 0.005 285.823) */ border-s-neutral-50: border-inline-start-color: var(--color-neutral-50); /* oklch(98.5% 0 0) */ border-s-neutral-100: border-inline-start-color: var(--color-neutral-100); /* oklch(97% 0 0) */ border-s-neutral-200: border-inline-start-color: var(--color-neutral-200); /* oklch(92.2% 0 0) */ border-s-neutral-300: border-inline-start-color: var(--color-neutral-300); /* oklch(87% 0 0) */ border-s-neutral-400: border-inline-start-color: var(--color-neutral-400); /* oklch(70.8% 0 0) */ border-s-neutral-500: border-inline-start-color: var(--color-neutral-500); /* oklch(55.6% 0 0) */ border-s-neutral-600: border-inline-start-color: var(--color-neutral-600); /* oklch(43.9% 0 0) */ border-s-neutral-700: border-inline-start-color: var(--color-neutral-700); /* oklch(37.1% 0 0) */ border-s-neutral-800: border-inline-start-color: var(--color-neutral-800); /* oklch(26.9% 0 0) */ border-s-neutral-900: border-inline-start-color: var(--color-neutral-900); /* oklch(20.5% 0 0) */ border-s-neutral-950: border-inline-start-color: var(--color-neutral-950); /* oklch(14.5% 0 0) */ border-s-stone-50: border-inline-start-color: var(--color-stone-50); /* oklch(98.5% 0.001 106.423) */ border-s-stone-100: border-inline-start-color: var(--color-stone-100); /* oklch(97% 0.001 106.424) */ border-s-stone-200: border-inline-start-color: var(--color-stone-200); /* oklch(92.3% 0.003 48.717) */ border-s-stone-300: border-inline-start-color: var(--color-stone-300); /* oklch(86.9% 0.005 56.366) */ border-s-stone-400: border-inline-start-color: var(--color-stone-400); /* oklch(70.9% 0.01 56.259) */ border-s-stone-500: border-inline-start-color: var(--color-stone-500); /* oklch(55.3% 0.013 58.071) */ border-s-stone-600: border-inline-start-color: var(--color-stone-600); /* oklch(44.4% 0.011 73.639) */ border-s-stone-700: border-inline-start-color: var(--color-stone-700); /* oklch(37.4% 0.01 67.558) */ border-s-stone-800: border-inline-start-color: var(--color-stone-800); /* oklch(26.8% 0.007 34.298) */ border-s-stone-900: border-inline-start-color: var(--color-stone-900); /* oklch(21.6% 0.006 56.043) */ border-s-stone-950: border-inline-start-color: var(--color-stone-950); /* oklch(14.7% 0.004 49.25) */ border-s-(<custom-property>): border-inline-start-color: var(<custom-property>); border-s-[<value>]: border-inline-start-color: <value>; ``` |