The name zero-width space is antithetical, but it’s not without uses. In text, maybe you’d use it around slashes because you want to be sure the words are treated individually but not have any physical space around the slash:
That’s pretty theoretical though—I’ve never once needed to do that. It might be useful in a long word to suggest that it can be broken there… but that’s also rare as we have the soft-hyphen () which is designed for that and leaves a typically appropriate hyphen at the break.
What I have needed to do is exactly the opposite: trick a system into thinking a single word is two words. Like on Twitter, if I @username or #hashtag in the text of a tweet, those will be linked up respectively. But I don’t always want that. On CSS Twitter, I might want to refer to a @media query or show an #id-selector. Toss a zero-width space between the symbols and the text and I’m all set.
Get a zero-width space on your clipboard
Here’s a Pen I created ages ago that will help you do that:
There is also a quick trick for doing it from the browser console:
copy('u{200B}')
via:
And for yet another way that may appeal to you, a bookmarklet!
Copy & Paste concern
The danger with the zero-width space is, well, you can’t see it. If someone were to, for example, copy your @media query using the zero-width space trick from a tweet, it won’t work in their code editor (because it will invalidate the rule) and it might be extremely confusing. For that reason, it’s probably good to avoid using it in anything that might be copied as a code example, but probably fine when explicitly trying to not autolink something.
위 내용은 제로 폭 공간의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

완벽한 세상에서 우리의 프로젝트에는 무제한 자원과 시간이 있습니다. 우리 팀은 잘 생각되고 고도로 세련된 UX 디자인으로 코딩을 시작할 것입니다.

SVG에는 인라인 SVG 코드가 길고 복잡해질 수있는 정도까지 자체 요소, 속성 및 속성 세트가 있습니다. CSS와 SVG 2 사양의 다가오는 기능 중 일부를 활용하면 해당 클리너 마크 업 코드를 줄일 수 있습니다.

당신은 이것을 알지 못할 수도 있지만, JavaScript는 최근에 많은 관찰자들을 은밀하게 축적했으며, 교차로 관찰자는 그 일부입니다.

모든 CSS 애니메이션을 버릴 필요는 없습니다. 노동을 선호하는 것이 아니라 감소 된 모션을 선호한다는 것을 기억하십시오.

PWA (Progressive Web Apps)는 한동안 우리와 함께있었습니다. 그러나 고객에게 설명 할 때마다 같은 질문이 나타납니다. "내 사용자가

HTML이 다른 HTML 파일을 포함시킬 방법이 없다는 것은 매우 놀랍습니다. 수평선에 어떤 것도있는 것 같지 않습니다.

SVG를 사용하는 방법에는 여러 가지가 있습니다. 어느 길에 따라, 다른 상태 또는 조건에서 SVG를 다시 채우기위한 전술 - : 호버,


핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

Video Face Swap
완전히 무료인 AI 얼굴 교환 도구를 사용하여 모든 비디오의 얼굴을 쉽게 바꾸세요!

인기 기사

뜨거운 도구

맨티스BT
Mantis는 제품 결함 추적을 돕기 위해 설계된 배포하기 쉬운 웹 기반 결함 추적 도구입니다. PHP, MySQL 및 웹 서버가 필요합니다. 데모 및 호스팅 서비스를 확인해 보세요.

Dreamweaver Mac版
시각적 웹 개발 도구

SublimeText3 Mac 버전
신 수준의 코드 편집 소프트웨어(SublimeText3)

PhpStorm 맥 버전
최신(2018.2.1) 전문 PHP 통합 개발 도구

WebStorm Mac 버전
유용한 JavaScript 개발 도구
