mirror of
https://github.com/vladmandic/sdnext.git
synced 2026-01-27 15:02:48 +03:00
259 lines
21 KiB
CSS
259 lines
21 KiB
CSS
@font-face { font-family: 'Roboto'; font-display: swap; font-style: normal; font-weight: 100; src: local('Roboto'), url('roboto.ttf') }
|
||
:root { --left-column: 490px; }
|
||
a { font-weight: bold; cursor: pointer; }
|
||
h2 { margin-top: 1em !important; font-size: 1.4em !important; }
|
||
footer { display: none; }
|
||
table { overflow-x: auto !important; overflow-y: auto !important; }
|
||
td { border-bottom: none !important; padding: 0.1em 0.5em !important; }
|
||
tr { border-bottom: none !important; padding: 0.1em 0.5em !important; }
|
||
|
||
/* gradio elements */
|
||
.block .padded:not(.gradio-accordion) { padding: 0 !important; margin-right: 0; min-width: 90px !important; }
|
||
.compact { gap: 1em 0.2em; background: transparent !important; padding: 0 !important; }
|
||
.flex-break { flex-basis: 100% !important; }
|
||
.form { border-width: 0; box-shadow: none; background: transparent; overflow: visible; gap: 0.5em 1em; flex-grow: 1 !important; }
|
||
.form-compact { margin-bottom: 0 !important; gap: 0.2em 1em !important; }
|
||
.gap .compact{ padding: 0; gap: 0.2em 0; }
|
||
.hidden { display: none; }
|
||
.tabitem { padding: 0 !important; }
|
||
|
||
.gradio-dropdown, .block.gradio-slider, .block.gradio-checkbox, .block.gradio-textbox, .block.gradio-radio, .block.gradio-checkboxgroup, .block.gradio-number, .block.gradio-colorpicker { border-width: 0 !important; box-shadow: none !important;}
|
||
.gradio-accordion { padding-top: var(--spacing-md) !important; padding-right: 0 !important; padding-bottom: 0 !important; color: var(--body-text-color); }
|
||
.gradio-accordion .label-wrap .icon { color: var(--button-primary-border-color); }
|
||
.gradio-button { border-radius: var(--radius-lg) !important; }
|
||
.gradio-button.secondary-down { background: var(--button-secondary-background-fill); color: var(--button-secondary-text-color); }
|
||
.gradio-button.secondary-down, .gradio-button.secondary-down:hover { box-shadow: 1px 1px 1px rgba(0,0,0,0.25) inset, 0px 0px 3px rgba(0,0,0,0.15) inset; }
|
||
.gradio-button.secondary-down:hover { background: var(--button-secondary-background-fill-hover); color: var(--button-secondary-text-color-hover); }
|
||
.gradio-button.tool { max-width: min-content; min-width: min-content !important; align-self: end; font-size: 1.4em; color: var(--body-text-color) !important; margin-bottom: var(--spacing-md); }
|
||
.gradio-checkbox { margin: 0.75em 1.5em 0 0; align-self: center; }
|
||
.gradio-column { min-width: unset !important; }
|
||
.gradio-container { max-width: unset !important; padding: var(--block-label-padding) !important; }
|
||
.gradio-container .prose a, .gradio-container .prose a:visited{ color: unset; text-decoration: none; }
|
||
|
||
.gradio-dropdown { margin-right: var(--spacing-sm) !important; }
|
||
.gradio-dropdown ul.options { z-index: 1000; min-width: fit-content; max-height: 33vh !important; white-space: nowrap; }
|
||
.gradio-dropdown ul.options li.item { padding: var(--spacing-xs); }
|
||
.gradio-dropdown ul.options li.item:not(:has(.hide)) { background-color: var(--primary-500); }
|
||
.gradio-dropdown span { margin-bottom: 0 !important; }
|
||
.gradio-dropdown .reference { margin-bottom: var(--spacing-sm) !important; }
|
||
.gradio-html .min { min-height: 0; }
|
||
.gradio-html div.wrap { height: 100%; }
|
||
.gradio-number { min-width: unset !important; max-width: 5em !important; }
|
||
.gradio-textbox { overflow: visible !important; }
|
||
.gradio-radio { padding: 0 !important; width: max-content !important; }
|
||
.gradio-slider { margin-right: var(--spacing-sm) !important; width: max-content !important }
|
||
.gradio-slider input[type="number"] { width: 6em; font-size: 0.8rem; height: 20px; margin-left: 0.5em; }
|
||
|
||
/* custom gradio elements */
|
||
.accordion-compact { padding: 8px 0px 4px 0px !important; }
|
||
.settings-accordion .gap { padding-right: 1000px; }
|
||
.settings-accordion >div { flex-flow: wrap; }
|
||
.small-accordion .form { min-width: var(--left-column) !important; }
|
||
.small-accordion .label-wrap .icon { margin-right: 1.6em; margin-left: 0.6em; color: var(--button-primary-border-color); }
|
||
.small-accordion .label-wrap { padding: 16px 0px 8px 0px; margin: 0; border-top: 2px solid var(--button-secondary-border-color); }
|
||
.small-accordion { width: fit-content !important; padding-left: 0 !important; }
|
||
button.custom-button{ border-radius: var(--button-large-radius); padding: var(--button-large-padding); font-weight: var(--button-large-text-weight); border: var(--button-border-width) solid var(--button-secondary-border-color);
|
||
background: var(--button-secondary-background-fill); color: var(--button-secondary-text-color); font-size: var(--button-large-text-size);
|
||
display: inline-flex; justify-content: center; align-items: center; transition: var(--button-transition); box-shadow: var(--button-shadow); text-align: center; }
|
||
|
||
/* themes */
|
||
.theme-preview { display: none; position: fixed; border: var(--spacing-sm) solid var(--neutral-600); box-shadow: 2px 2px 2px 2px var(--neutral-700); top: 0; bottom: 0; left: 0; right: 0; margin: auto; max-width: 75vw; z-index: 999; }
|
||
|
||
/* txt2img/img2img specific */
|
||
.block.token-counter{ position: absolute; display: inline-block; right: 0; min-width: 0 !important; width: auto; z-index: 100; top: -0.75em; }
|
||
.block.token-counter span{ background: var(--input-background-fill) !important; box-shadow: 0 0 0.0 0.3em rgba(192,192,192,0.15), inset 0 0 0.6em rgba(192,192,192,0.075); border: 2px solid rgba(192,192,192,0.4) !important; }
|
||
.block.token-counter.error span{ box-shadow: 0 0 0.0 0.3em rgba(255,0,0,0.15), inset 0 0 0.6em rgba(255,0,0,0.075); border: 2px solid rgba(255,0,0,0.4) !important; }
|
||
.block.token-counter div{ display: inline; }
|
||
.block.token-counter span{ padding: 0.1em 0.75em; }
|
||
.performance { font-size: 0.85em; color: #444; }
|
||
.performance p { display: inline-block; color: var(--body-text-color-subdued) !important }
|
||
.performance .time { margin-right: 0; }
|
||
#txt2img_prompt_container, #img2img_prompt_container { margin-right: var(--layout-gap) }
|
||
#txt2img_footer, #img2img_footer, #extras_footer { height: fit-content; }
|
||
#txt2img_footer, #img2img_footer { height: fit-content; display: none; }
|
||
#txt2img_generate_box, #img2img_generate_box { gap: 0.5em; flex-wrap: wrap-reverse; height: fit-content; }
|
||
#txt2img_actions_column, #img2img_actions_column { gap: 0.5em; height: fit-content; }
|
||
#txt2img_generate_box > button, #img2img_generate_box > button, #txt2img_enqueue, #img2img_enqueue { min-height: 42px; max-height: 42px; line-height: 1em; }
|
||
#txt2img_generate_line2, #img2img_generate_line2, #txt2img_tools, #img2img_tools { display: flex; }
|
||
#txt2img_generate_line2 > button, #img2img_generate_line2 > button, #extras_generate_box > button, #txt2img_tools > button, #img2img_tools > button { height: 2em; line-height: 0; font-size: var(--input-text-size);
|
||
min-width: unset; display: block !important; margin-left: 0.4em; margin-right: 0.4em; }
|
||
#txt2img_prompt, #txt2img_neg_prompt, #img2img_prompt, #img2img_neg_prompt { display: contents; }
|
||
.interrogate-col{ min-width: 0 !important; max-width: fit-content; margin-right: var(--spacing-xxl); }
|
||
.interrogate-col > button{ flex: 1; }
|
||
#sampler_selection_img2img { margin-top: 1em; }
|
||
#txtimg_hr_finalres{ min-height: 0 !important; }
|
||
#img2img_scale_resolution_preview.block{ display: flex; align-items: end; }
|
||
#txtimg_hr_finalres .resolution, #img2img_scale_resolution_preview .resolution{ font-weight: bold; }
|
||
div#extras_scale_to_tab div.form{ flex-direction: row; }
|
||
#img2img_unused_scale_by_slider { visibility: hidden; width: 0.5em; max-width: 0.5em; min-width: 0.5em; }
|
||
.inactive{ opacity: 0.5; }
|
||
div.dimensions-tools { min-width: 0 !important; max-width: fit-content; flex-direction: row; align-content: center; }
|
||
div#extras_scale_to_tab div.form{ flex-direction: row; }
|
||
#mode_img2img .gradio-image > div.fixed-height, #mode_img2img .gradio-image > div.fixed-height img{ height: 480px !important; max-height: 480px !important; min-height: 480px !important; }
|
||
#img2img_sketch, #img2maskimg, #inpaint_sketch { overflow: overlay !important; resize: auto; background: var(--panel-background-fill); z-index: 5; }
|
||
.image-buttons button{ min-width: auto; }
|
||
.infotext { overflow-wrap: break-word; }
|
||
.tooltip { display: block; position: fixed; top: 1em; right: 1em; padding: 0.5em; background: var(--input-background-fill); color: var(--body-text-color); border: 1pt solid var(--button-primary-border-color);
|
||
width: 22em; min-height: 1.3em; font-size: 0.8em; transition: opacity 0.2s ease-in; pointer-events: none; opacity: 0; z-index: 999; }
|
||
.tooltip-show { opacity: 0.9; }
|
||
.toolbutton-selected { background: var(--background-fill-primary) !important; }
|
||
|
||
/* settings */
|
||
#si-sparkline-memo, #si-sparkline-load { background-color: #111; }
|
||
#quicksettings { width: fit-content; }
|
||
#quicksettings > button { padding: 0 1em 0 0; align-self: end; margin-bottom: var(--text-lg); }
|
||
#settings { display: flex; gap: var(--layout-gap); }
|
||
#settings div { border: none; gap: 0; margin: 0 0 var(--layout-gap) 0px; padding: 0; }
|
||
#settings .gr-group { max-width: 70em; }
|
||
#settings > div.tab-content { flex: 10 0 75%; display: grid; }
|
||
#settings > div.tab-content > div { border: none; padding: 0; }
|
||
#settings > div.tab-content > div > div > div > div > div { flex-direction: unset; }
|
||
#settings > div.tab-nav { display: grid; grid-template-columns: repeat(auto-fill, .5em minmax(10em, 1fr)); flex: 1 0 auto; width: 12em; align-self: flex-start; gap: var(--spacing-lg); }
|
||
#settings > div.tab-nav button { display: block; border: none; text-align: left; white-space: initial; padding: 0; }
|
||
#settings > div.tab-nav > #settings_show_all_pages { padding: var(--size-2) var(--size-4); }
|
||
#settings .block.gradio-checkbox { margin: 0; width: auto; }
|
||
#settings .dirtyable { gap: .5em; }
|
||
#settings .dirtyable.hidden { display: none; }
|
||
#settings .modification-indicator { height: 1.2em; border-radius: 1em !important; padding: 0; width: 0; margin-right: 0.5em; }
|
||
#settings .modification-indicator:disabled { visibility: hidden; }
|
||
#settings .modification-indicator.saved { background: var(--color-accent-soft); width: var(--spacing-sm); }
|
||
#settings .modification-indicator.changed { background: var(--color-accent); width: var(--spacing-sm); }
|
||
#settings .modification-indicator.changed.unsaved { background-image: linear-gradient(var(--color-accent) 25%, var(--color-accent-soft) 75%); width: var(--spacing-sm); }
|
||
#settings_result { margin: 0 1.2em; }
|
||
.licenses { display: block !important; }
|
||
|
||
/* live preview */
|
||
.progressDiv{ position: relative; height: 20px; background: #b4c0cc; margin-bottom: -3px; }
|
||
.dark .progressDiv{ background: #424c5b; }
|
||
.progressDiv .progress{ width: 0%; height: 20px; background: #0060df; color: white; font-weight: bold; line-height: 20px; padding: 0 8px 0 0; text-align: right; overflow: visible; white-space: nowrap; padding: 0 0.5em; }
|
||
.livePreview { position: absolute; z-index: 50; background-color: transparent; width: -moz-available; width: -webkit-fill-available; }
|
||
.livePreview img { position: absolute; object-fit: contain; width: 100%; height: 100%; }
|
||
.dark .livePreview { background-color: rgb(17 24 39 / var(--tw-bg-opacity)); }
|
||
.popup-metadata { color: white; background: #0000; display: inline-block; white-space: pre-wrap; font-size: 0.75em; }
|
||
.global-popup{ display: flex; position: fixed; z-index: 10001; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(20, 20, 20, 0.95);}
|
||
.global-popup-close:before { content: "×"; }
|
||
.global-popup-close{ position: fixed; right: 0.5em; top: 0; cursor: pointer; color: white; font-size: 32pt; }
|
||
.global-popup-inner{ display: inline-block; margin: auto; padding: 2em; }
|
||
|
||
/* fullpage image viewer */
|
||
#lightboxModal{ display: none; position: fixed; z-index: 1001; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(20, 20, 20, 0.75); backdrop-filter: blur(6px);
|
||
user-select: none; -webkit-user-select: none; flex-direction: row; }
|
||
.modalControls { display: flex; justify-content: space-evenly; background-color: transparent; position: absolute; width: 99%; z-index: 1; }
|
||
.modalControls:hover { background-color: #50505050; }
|
||
.modalControls span { color: white; font-size: 2em; font-weight: bold; cursor: pointer; filter: grayscale(100%); }
|
||
.modalControls span:hover, .modalControls span:focus { color: var(--highlight-color); filter: none; }
|
||
.lightboxModalPreviewZone { display: flex; width: 100%; height: 100%; }
|
||
.lightboxModalPreviewZone:focus-visible { outline: none; }
|
||
.lightboxModalPreviewZone > img { display: block; margin: auto; width: auto; }
|
||
.lightboxModalPreviewZone > img.modalImageFullscreen{ object-fit: contain; height: 100%; width: 100%; min-height: 0; background: transparent; }
|
||
table.settings-value-table { background: white; border-collapse: collapse; margin: 1em; border: var(--spacing-sm) solid white; }
|
||
table.settings-value-table td { padding: 0.4em; border: 1px solid #ccc; max-width: 36em; }
|
||
.modalPrev, .modalNext { cursor: pointer; position: relative; z-index: 1; top: 0; width: auto; height: 100vh; line-height: 100vh; text-align: center; padding: 16px;
|
||
margin-top: -50px; color: white; font-weight: bold; font-size: 20px; transition: 0.6s ease; user-select: none; -webkit-user-select: none; }
|
||
.modalNext { right: 0; }
|
||
.modalPrev:hover, .modalNext:hover { background-color: rgba(0, 0, 0, 0.8); }
|
||
#imageARPreview { position: absolute; top: 0px; left: 0px; border: 2px solid red; background: rgba(255, 0, 0, 0.3); z-index: 900; pointer-events: none; display: none; }
|
||
|
||
/* context menu (ie for the generate button) */
|
||
#context-menu { z-index: 9999; position: absolute; display: block; padding: var(--spacing-md); border: 2px solid var(--highlight-color); background: var(--background-fill-primary); color: var(--body-text-color); }
|
||
.context-menu-items { list-style: none; margin: 0; padding: 0; }
|
||
.context-menu-items a { display: block; padding: var(--spacing-md); cursor: pointer; font-weight: normal; }
|
||
.context-menu-items a:hover { background: var(--highlight-color) }
|
||
|
||
/* extensions */
|
||
#tab_extensions table, #tab_config table{ border-collapse: collapse; }
|
||
#tab_extensions table td, #tab_extensions table th, #tab_config table td, #tab_config table th { border: 1px solid #ccc; padding: 0.25em 0.5em; }
|
||
#tab_extensions table input[type="checkbox"] { margin-right: 0.5em; appearance: checkbox; }
|
||
#tab_extensions button{ max-width: 16em; }
|
||
#tab_extensions input[disabled="disabled"]{ opacity: 0.5; }
|
||
.extension-tag{ font-weight: bold; font-size: 95%; }
|
||
.extension-button { font-size: 95% !important; width: 6em; }
|
||
#extensions .name{ font-size: 1.1rem }
|
||
#extensions .type{ opacity: 0.5; font-size: 90%; text-align: center; }
|
||
#extensions .version{ opacity: 0.7; }
|
||
#extensions .info{ margin: 0; }
|
||
#extensions .date{ opacity: 0.85; font-size: 90%; }
|
||
|
||
/* extra networks */
|
||
.extra-networks > div { margin: 0; border-bottom: none !important; gap: 0.3em 0; }
|
||
.extra-networks .second-line { display: flex; width: -moz-available; width: -webkit-fill-available; gap: 0.3em; box-shadow: var(--input-shadow); }
|
||
.extra-networks .search { flex: 1; }
|
||
.extra-networks .description { flex: 3; }
|
||
.extra-networks .tab-nav > button { margin-right: 0; height: 24px; padding: 2px 4px 2px 4px; }
|
||
.extra-networks .buttons { position: absolute; right: 0; margin: -4px; background: var(--background-color); }
|
||
.extra-networks .buttons>button { height: 1.2em; margin-top: var(--spacing-md); }
|
||
.extra-networks .custom-button { width: 120px; width: 100%; background: none; justify-content: left; text-align: left; padding: 2px 8px 2px 16px; text-indent: -8px; box-shadow: none; line-break: auto; }
|
||
.extra-networks .custom-button:hover { background: var(--button-primary-background-fill) }
|
||
.extra-networks-tab { padding: 0 !important; }
|
||
.extra-network-subdirs { background: var(--input-background-fill); overflow-x: hidden; overflow-y: auto; min-width: max(15%, 120px); padding-top: 0.5em; margin-top: -4px !important; }
|
||
.extra-networks-page { display: flex }
|
||
.extra-network-cards { display: flex; flex-wrap: wrap; overflow-y: auto; overflow-x: hidden; align-content: flex-start; width: -moz-available; width: -webkit-fill-available; }
|
||
.extra-network-cards .card { height: fit-content; margin: 0 0 0.5em 0.5em; position: relative; scroll-snap-align: start; scroll-margin-top: 0; }
|
||
.extra-network-cards .card .overlay { position: absolute; bottom: 0; padding: 0.2em; z-index: 10; width: 100%; background: none; }
|
||
.extra-network-cards .card .overlay .name { font-size: 1.1em; font-weight: bold; text-shadow: 1px 1px black; color: white; overflow-wrap: break-word; }
|
||
.extra-network-cards .card .preview { box-shadow: var(--button-shadow); min-height: 30px; }
|
||
.extra-network-cards .card:hover .overlay { background: rgba(0, 0, 0, 0.40); }
|
||
.extra-network-cards .card:hover .preview { box-shadow: none; filter: grayscale(100%); }
|
||
.extra-network-cards .card:hover .overlay { background: rgba(0, 0, 0, 0.40); }
|
||
.extra-network-cards .card .overlay .tags { margin: 4px; display: none; overflow-wrap: break-word; }
|
||
.extra-network-cards .card .overlay .tag { padding: 2px; margin: 2px; background: var(--neutral-700); cursor: pointer; display: inline-block; }
|
||
.extra-network-cards .card .actions > span { padding: 4px; }
|
||
.extra-network-cards .card:hover .actions { display: block; }
|
||
.extra-network-cards .card:hover .overlay .tags { display: block; }
|
||
.extra-network-cards .card .actions { font-size: 3em; display: none; text-align-last: right; cursor: pointer; font-variant: unicase; position: absolute; z-index: 100; right: 0; height: 0.7em; width: 100%; background: rgba(0, 0, 0, 0.40); }
|
||
#txt2img_description, #img2img_description { max-height: 63px; overflow-y: auto !important; }
|
||
#txt2img_description > label > textarea, #img2img_description > label > textarea { font-size: 0.9em }
|
||
|
||
#txt2img_extra_details > div, #img2img_extra_details > div { overflow-y: auto; min-height: 40vh; max-height: 80vh; align-self: flex-start; }
|
||
#txt2img_extra_details, #img2img_extra_details { position: fixed; bottom: 50%; left: 50%; transform: translate(-50%, 50%); padding: 0.8em; border: var(--block-border-width) solid var(--highlight-color) !important;
|
||
z-index: 100; box-shadow: var(--button-shadow); }
|
||
#txt2img_extra_details td:first-child, #img2img_extra_details td:first-child { font-weight: bold; vertical-align: top; }
|
||
#txt2img_extra_details .gradio-image, #img2img_extra_details .gradio-image { max-height: 70vh; }
|
||
|
||
|
||
/* specific elements */
|
||
#modelmerger_interp_description { margin-top: 1em; margin-bottom: 1em; }
|
||
#scripts_alwayson_txt2img, #scripts_alwayson_img2img { display: grid; padding: 0 }
|
||
#scripts_alwayson_txt2img > .label-wrap, #scripts_alwayson_img2img > .label-wrap { background: var(--input-background-fill); padding: 0; margin: 0; border-radius: var(--radius-lg); }
|
||
#scripts_alwayson_txt2img > .label-wrap > span, #scripts_alwayson_img2img > .label-wrap > span { padding: var(--spacing-xxl); }
|
||
#scripts_alwayson_txt2img div { max-width: var(--left-column); }
|
||
#script_txt2img_agent_scheduler { display: none; }
|
||
#refresh_tac_refreshTempFiles { display: none; }
|
||
#train_tab { flex-flow: row-reverse; }
|
||
#models_tab { flex-flow: row-reverse; }
|
||
#swap_axes > button { min-width: 100px; font-size: 1em; }
|
||
#ui_defaults_review { margin: 1em; }
|
||
|
||
/* extras */
|
||
.extras { gap: 0.2em 1em !important }
|
||
#extras_generate, #extras_interrupt, #extras_skip { display: block !important; position: relative; height: 36px; }
|
||
#extras_upscale { margin-top: 10px }
|
||
|
||
/* log monitor */
|
||
.log-monitor { display: none; justify-content: unset !important; overflow: hidden; padding: 0; margin-top: auto; font-family: monospace; font-size: 0.85em; }
|
||
.log-monitor td, .log-monitor th { padding-left: 1em; }
|
||
|
||
/* changelog */
|
||
.md h2 { background-color: var(--background-fill-primary); padding: 0.5em; }
|
||
.md ul { list-style-type: square !important; text-indent: 1em; margin-left: 4em; }
|
||
.md li { list-style-position: outside !important; text-indent: 0; }
|
||
.md p { margin-left: 2em; }
|
||
|
||
/* custom component */
|
||
.folder-selector textarea { height: 2em !important; padding: 6px !important; }
|
||
.nvml { position: fixed; bottom: 10px; right: 10px; background: var(--background-fill-primary); border: 1px solid var(--button-primary-border-color); padding: 6px; color: var(--button-primary-text-color);
|
||
font-size: 0.7em; z-index: 50; font-family: monospace; display: none; }
|
||
|
||
/* loader */
|
||
.splash { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 1000; display: block; text-align: center; }
|
||
.motd { margin-top: 2em; color: var(--body-text-color-subdued); font-family: monospace; font-variant: all-petite-caps; }
|
||
.splash-img { margin: 10% auto 0 auto; width: 512px; background-repeat: no-repeat; height: 512px; animation: color 10s infinite alternate; }
|
||
.loading { color: white; position: absolute; top: 20%; left: 50%; transform: translateX(-50%); }
|
||
.loader { width: 300px; height: 300px; border: var(--spacing-md) solid transparent; border-radius: 50%; border-top: var(--spacing-md) solid var(--primary-600); animation: spin 4s linear infinite; position: relative; }
|
||
.loader::before, .loader::after { content: ""; position: absolute; top: 6px; bottom: 6px; left: 6px; right: 6px; border-radius: 50%; border: var(--spacing-md) solid transparent; }
|
||
.loader::before { border-top-color: var(--primary-900); animation: 3s spin linear infinite; }
|
||
.loader::after { border-top-color: var(--primary-300); animation: spin 1.5s linear infinite; }
|
||
@keyframes move { from { background-position-x: 0, -40px; } to { background-position-x: 0, 40px; } }
|
||
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
|
||
@keyframes color { from { filter: hue-rotate(0deg) } to { filter: hue-rotate(360deg) } }
|