“CSS Mencegah Teks Pilih” Kode Jawaban

Tidak ada CSS Pilih

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}
Different Dingo

CSS Mencegah Teks Pilih

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
|_Genos_|

CSS Nonaktifkan Teks Pilih

  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;          /* Likely future */ 
Rudolph Steyn

Hentikan seleksi CSS

.noselect {
      -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
Aqua

CSS Mencegah Pilihan Biru Teks

::selection {
    color: none;
    background: none;
}
/* For Mozilla Firefox */
::-moz-selection {
    color: none;
    background: none;
}
florinrelea

Jawaban yang mirip dengan “CSS Mencegah Teks Pilih”

Pertanyaan yang mirip dengan “CSS Mencegah Teks Pilih”

Lebih banyak jawaban terkait untuk “CSS Mencegah Teks Pilih” di CSS

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya