# Tailwind CSS Advanced Patterns ## Complex Layouts ### HUD Dashboard Grid ```vue ``` ## Custom Animations ### Glitch Effect ```javascript // tailwind.config.js animation: { 'glitch': 'glitch 1s infinite linear alternate-reverse', 'glitch-1': 'glitch-1 0.8s infinite linear alternate-reverse', 'glitch-2': 'glitch-2 0.9s infinite linear alternate-reverse' }, keyframes: { glitch: { '0%, 100%': { transform: 'translate(0)' }, '20%': { transform: 'translate(-2px, 2px)' }, '40%': { transform: 'translate(-2px, -2px)' }, '60%': { transform: 'translate(2px, 2px)' }, '80%': { transform: 'translate(2px, -2px)' } }, 'glitch-1': { '0%, 100%': { clipPath: 'inset(0 0 0 0)' }, '50%': { clipPath: 'inset(5% 0 80% 0)' } } } ``` ## Responsive HUD ```vue ``` ## Plugin: Holographic Glow ```javascript // plugins/holographic.js const plugin = require('tailwindcss/plugin') module.exports = plugin(function({ addUtilities, theme }) { const glows = {} Object.entries(theme('colors.jarvis')).forEach(([name, color]) => { if (typeof color === 'string') { glows[`.glow-${name}`] = { boxShadow: `0 0 10px ${color}, 0 0 20px ${color}40, 0 0 30px ${color}20` } glows[`.text-glow-${name}`] = { textShadow: `0 0 10px ${color}` } } }) addUtilities(glows) }) ```