select-none/text/all/auto — copy protection and select-all zones. This family contains 4 generated classes in Nakshora 3.1.

Classes#

ClassGenerated CSS
select-noneuser-select: none;
select-textuser-select: text;
select-alluser-select: all;
select-autouser-select: auto;

Example#

example
html
<div class="select-none">Drag-friendly UI</div>
<code class="select-all">copy-me()</code>

Responsive & variants#

Every class here accepts screen prefixes (xxs:5xl:) and state variants — md:hover:p-4 style stacks compile to a single media query. See responsive/index|Responsive design and variants/index|Variants.

Best practices#

  • select-all on license keys / code snippets
  • Never select-none on reading text

utilities/interactivity/cursor|Cursor · utilities/interactivity/scroll-snap|Scroll snap