> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# -x-handle-size

APISummary
## Introduction

The `-x-handle-size` property specifies the size of the floating marker when copying text, only valid in the selection pseudo-element.

## Examples

**This is an example below: css-api**

**Entry:** `src/-x-handle-size`
**Bundle:** `dist/-x-handle-size.lynx.bundle`

```tsx
import { root } from "@lynx-js/react";
import "./index.scss";

const XHandleSize = () => {
  return (
    <view className="container">
      <text className="text1" text-selection={true} flatten={false}>This is a text</text>
      <text className="text2" text-selection={true} flatten={false}>This is a text</text>
    </view>
  );
};

root.render(<XHandleSize />);

```

v0.11.0



## Syntax

```css
::selection {
  -x-handle-size: 5px;
}
```

### Values

- [`<length>`](/next/api/css/data-type/length.md)

  Sets the size of the floating marker

## Formal definition

| Initial value | 0 |
| Applies to | text |
| Inherited | no |
| Animatable | no |


## Formal syntax

```
-x-handle-size = <length>
```

## Differences from the Web

- This is a Lynx-specific property.

## Notes

- On Android, it corresponds to the size of the entire floating marker, while on iOS, it corresponds to the diameter of the floating marker's circular ball

## Compatibility

**Compatibility Table**

**Query:** `css.properties.-x-handle-size`

[Source](https://github.com/lynx-family/lynx/blob/develop/tools/css_generator/css_defines/212--x-handle-size.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| -x-handle-size | Yes (1.0) | No | Yes (1.0) | No | No | No |

**`-x-handle-size`**

**Specifications:**

