<commit_before># Hide Text

```css
hide-text()
```

Visually hides text using text indent. Commonly used when background images should appear instead of text content.

---

**Example**
```css
.element
  hide-text()

/* CSS */
.element {
  overflow: hidden;
  text-indent: 110%;
  white-space: nowrap;
}
```

---

[Source](https://github.com/jackbrewer/stylus-mixins/blob/master/lib/stylus-mixins/media/hide-text.styl) - [Tests](https://github.com/jackbrewer/stylus-mixins/blob/master/test/tests/media/hide-text.styl)<commit_msg>Fixing links to source and tests<commit_after># Hide Text

```css
hide-text()
```

Visually hides text using text indent. Commonly used when background images should appear instead of text content.

---

**Example**
```css
.element
  hide-text()

/* CSS */
.element {
  overflow: hidden;
  text-indent: 110%;
  white-space: nowrap;
}
```

---

[Source](https://github.com/jackbrewer/stylus-mixins/blob/master/lib/stylus-mixins/text/hide-text.styl) - [Tests](https://github.com/jackbrewer/stylus-mixins/blob/master/test/tests/text/hide-text.styl)
{'fraction_non_alphanumeric': 0.16961789375582478, 'fraction_numerical': 0.005591798695246971, 'mean_word_length': 3.9722222222222223, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2844948', 'n_tokens_mistral': 397, 'n_tokens_neox': 377, 'n_words': 76}