Afficher/masquer le menu
Liens Ecyseo
  • Tags cloud
  • Daily
  • Pictures wall
  • Search
  • Display options
    • Links per page :
    • 20 links
    • 50 links
    • 100 links
  • RSS Feed
  • Login

J'ai besoin d'intimité. Non pas parce que mes actions sont douteuses, mais parce que votre jugement et vos intentions le sont.

5198 links 

page 103 / 260

Liste des liens

Stuff you can do with CSS pointer events
2018-08-27 14:28 - permalink -
<div class="containter p-3 p-md-5">
  <div class="mb-5">
    <h1 class="h4">
      Stuff you can do with <code>pointer-events</code>
    </h1>
    <p>
      <code>pointer-events</code> is mostly used to bypass click events on an element. But did you know you can reset the pointer events of descendant elements? This allows us to do some interesting things…
    </p>
    <p class="small text-muted">
      (Bootstrap is included in this pen for basic styling)
    </p>
  </div>

  <div class="my-5">
    <h2 class="h5">
      1. Change styling of a parent on hover
    </h2>
    <p>
      The hover styling of the card is not set unless the button is hovered. Keep in mind this technique disables the ability to open the image-specific context menu when the image is right-clicked (Thanks Šime Vidas for  <a href="<a href="https://twitter.com/simevidas/status/1020867060614811649&quot">https://twitter.com/simevidas/status/1020867060614811649&quot</a>; target="_blank">pointing that out</a>).
    </p>

    <div class="card change-parent-style">
      <img class="card-img-top" height="180" width="286" alt="100%x180" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22286%22%20height%3D%22180%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20286%20180%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_164b14928b4%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A14pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_164b14928b4%22%3E%3Crect%20width%3D%22286%22%20height%3D%22180%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22107.203125%22%20y%3D%2296.3%22%3E286x180%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E">
      <div class="card-body">
        <h5 class="h6 card-title">Card title</h5>
        <p class="card-text">Hover the button below to see the effect in action.</p>
        <button class="btn btn-primary js-btn">
          Hover me
        </button>
      </div>
    </div>
  </div>

  <div class="my-5">
    <h2 class="h5">
      2. Change styling of another element
    </h2>
    <p>
      Style the text of the sibling card when the button is hovered.
    </p>

    <div class="d-flex flex-wrap change-element-style">

      <div class="card mb-3 mr-3">
        <img class="card-img-top" height="180" width="286" alt="100%x180" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22286%22%20height%3D%22180%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20286%20180%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_164b14928b4%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A14pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_164b14928b4%22%3E%3Crect%20width%3D%22286%22%20height%3D%22180%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22107.203125%22%20y%3D%2296.3%22%3E286x180%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E">
        <div class="card-body">
          <h5 class="h6 card-title">Card 1</h5>
          <button class="btn btn-primary js-btn">
            Hover me
          </button>
        </div>
      </div>

      <div class="card mb-3 mr-3">
        <img class="card-img-top" height="180" width="286" alt="100%x180" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22286%22%20height%3D%22180%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20286%20180%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_164b14928b4%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A14pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_164b14928b4%22%3E%3Crect%20width%3D%22286%22%20height%3D%22180%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22107.203125%22%20y%3D%2296.3%22%3E286x180%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E">
        <div class="card-body">
          <h5 class="h6 card-title">Card 2</h5>
          <p class="card-text element">This text changes color if the button in card 1 is hovered.</p>
        </div>
      </div>

    </div>
  </div>

  <div class="my-5">
    <h2 class="h5">
      3. Only make the pseudo element clickable
    </h2>
    <p>
      Only the <b class="text-danger">&cross;</b> is clickable. <span class="text-muted small">(Doesn't work in Firefox, see <a href="<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1177528&quot">https://bugzilla.mozilla.org/show_bug.cgi?id=1177528&quot</a>; target="_blank">this bug</a>.)</span>
    </p>
    <button class="btn-x js-btn">
      Filter
    </button>
  </div>

  <div class="my-5">
    <h2 class="h5">
      4. Only make the path clickable.
    </h2>
    <p>
      <code>pointer-events: visiblePainted</code> can be used to only make the path interactive.
    </p>
    <svg aria-hidden="true" width="384" height="512" role="img" xmlns="<a href="http://www.w3.org/2000/svg&quot">http://www.w3.org/2000/svg&quot</a>; viewBox="0 0 384 512" class="img-fluid"><path fill="currentColor" d="M0 32l34.9 395.8L191.5 480l157.6-52.2L384 32H0zm308.2 127.9H124.4l4.1 49.4h175.6l-13.6 148.4-97.9 27v.3h-1.1l-98.7-27.3-6-75.8h47.7L138 320l53.5 14.5 53.7-14.5 6-62.2H84.3L71.5 112.2h241.1l-4.4 47.7z" class="svg"></path></svg>
    <p class="small">
      Icon from <a href="<a href="https://fontawesome.com/icons/html5?style=brands&quot">https://fontawesome.com/icons/html5?style=brands&quot</a>; target="_blank" rel="noopener">Font Awesome</a>
    </p>
  </div>

  <div class="mt-5">
    <h2 class="h5">
      That's all folks!
    </h2>
    <p>
      xoxo <a href="<a href="https://twitter.com/Martijn_Cuppens">@Martijn_Cuppens</a&gt">https://twitter.com/Martijn_Cuppens">@Martijn_Cuppens</a&gt</a>;
    </p>
    <p class="small mt-4">
      PS. make sure to check out <a href="<a href="https://github.com/project-rfs/rfs">RFS</a&gt">https://github.com/project-rfs/rfs">RFS</a&gt</a>; to control your responsive font sizes.
    </p>
  </div>
</div>
// Global styling
.card {
  max-width: 286px;
}

.btn {
  // All btns are clickable/hoverable
  pointer-events: auto;
}
// End Global styling

// Example 1:
.change-parent-style {
  pointer-events: none;
  transition: border-color 0.15s ease-in-out;

  &:hover {
    border-color: #0069d9;
  }
}
// End Example 1

// Example 2:
.change-element-style {
  pointer-events: none;

  &:hover{
    .element {
      color: #28a745;
    }
  }
}
// End Example 2

// Example 3:
.btn-x {
  pointer-events: none;
  font-weight: 700;
  border: none;
  background-color: #e8e8e8;
  border-radius: .2rem;
  padding: .5em .8em;
  cursor: pointer;

  &::after {
    content: '×';
    color: #dc3545;
    pointer-events: auto;
  }

  &:focus {
    box-shadow: rgba(0, 123, 255, 0.25) 0px 0px 0px 0.2rem;
    outline: 0;
  }
}
// End Example 3

// Example 4:
.svg {
  pointer-events: visiblePainted;
  transition: fill .15s ease-in-out;

  &:hover {
    fill: #fd7e14;
  }
}
// End Example 4
css event
- https://codepen.io/MartijnCuppens/pen/MBjqbM?editors=1100
Introduction à l'injection de dépendances en PHP - OpenClassrooms
2018-08-26 22:14 - permalink -

Je te recommande plutôt les articles de Tom Butler : https://r.je/

injection oldfav php webdev
- https://openclassrooms.com/fr/courses/1279096-introduction-a-linjection-de-dependances-en-php
Setting Up a Local Web Server using Node.js - Sabe.io
2018-08-26 22:1 - permalink -

Euh, il suffit de faire un lien symbolique vers le dossier en question...

Par exemple, pour un dossier www/html situé dans "Mes Documents", ouvrir un terminal et taper les commandes suivantes :

   mkdir "~/Mes Documents/www"
   mkdir "~/Mes Documents/www/html"
   sudo chmod 777 "~/Mes Documents/www"
   sudo mv /var/www /var/www_old
   sudo ln -s "~/Mes Documents/www" /var/www

Pas besoin de Node.js pour ça...

geekerie Linux
- https://sabe.io/tutorials/setting-up-local-web-server-node-js
Tor : Connexion non sécurisée - Liens Ecyseo - Oros links
2018-08-26 21:51 - permalink -

Merci.
Je vais vérifier ça une fois au boulot.

browser https internet navigateur sécurité tls tor téléchargement
- https://www.ecirtam.net/links/?zOaSUA
Tor : Connexion non sécurisée
2018-08-24 16:36 - permalink -

J'essaie de me rendre sur le site de Tor et la connexion est dite non sécurisée (avec Firefox et IE sous windows).
Vous savez si c'est normal ?

internet navigateur sécurité tor téléchargement
- https://www.torproject.org/projects/torbrowser.html.en
Initiation HTML et CSS, le PDF de formation - Stéphanie Walter, UI et UX Designer.
2018-08-24 16:1 - permalink -
tutoriels
- https://blog.stephaniewalter.fr/cours-initiation-html-css/
Alcool. Non, un verre par jour n’est pas bon pour la santé - Santé - LeTelegramme.fr
2018-08-24 15:51 - permalink -

On appelle cela "l'alcoolisme mondain"...

Médecine
- https://www.letelegramme.fr/sante/alcool-non-un-verre-par-jour-n-est-pas-bon-pour-la-sante-24-08-2018-12059585.php
YouTube thumbnail
(Bruno Mars) Versace On The Floor - Vinai T cover - YouTube
2018-08-24 2:9 - permalink -

Hyper clean.

Musique
- https://www.youtube.com/watch?v=irUuaEv4nSk&index=27&list=RD3ReW7IgVF7c
YouTube thumbnail
Overjoyed- Stevie Wonder (Cover by Astrid Celeste) - YouTube
2018-08-24 1:48 - permalink -

Joli reprise. J'aime bien la guitare.

Musique
- https://www.youtube.com/watch?v=a_9B0hgczfg&list=RD3ReW7IgVF7c&index=11
YouTube thumbnail
The Way You Make Me Feel - Michael Jackson (acoustic cover) - YouTube
2018-08-24 1:34 - permalink -

Trop bien !

Musique
- https://www.youtube.com/watch?v=zLSDrEG6Ru8&list=RD3ReW7IgVF7c&start_radio=1
B_Milde - On The Security Of reCAPTCHA - Bachelor Thesis.pdf
2018-08-23 14:17 - permalink -

Intéressant.
À lire.

captcha Recherche sécurité
- http://shapecatcher.com/B_Milde%20-%20On%20The%20Security%20Of%20reCAPTCHA%20-%20Bachelor%20Thesis.pdf
imgur.com thumbnail
The NFL should sign this cop - Imgur
2018-08-22 18:59 - permalink -

C'est clair !!!

- https://imgur.com/gallery/aSag8b0
xdsd
2018-08-21 16:37 - permalink -
- https://www.yegor256.com/tag/xdsd
Why NULL is Bad?
2018-08-21 16:34 - permalink -

Parce que c'est null ! :-)

poo programmation tutoriels
- https://www.yegor256.com/2014/05/13/why-null-is-bad.html
Objects Should Be Immutable
2018-08-21 16:31 - permalink -

Tout est dit.

poo programmation tutoriels
- https://www.yegor256.com/2014/06/09/objects-should-be-immutable.html
What Is Zerocracy?
2018-08-21 15:57 - permalink -

Une autre approche de la gestion du développement logiciel.

Pas de salariat. Payé à l'acte.

Serait-ce là le début d'un nouveau statut que l'on pourrait appeler "intermittent de la programmation" ?

developpement logiciel programmation société
- http://www.zerocracy.com/toc.html
Inheritance vs Composition: Composition wins by knockout - Tom Butler
2018-08-21 14:23 - permalink -

Encore un article qui démontre que tout ce que j'ai appris, ben, c'est de la merde.

Plutôt que de penser ses classes en terme d'héritage (est-un), il vaut mieux penser en terme de composition (possède-un ou est-composé-de).

L'héritage est une mauvaise pratique, le plus souvent, car cela rompt l'encapsulation et souvent engendre une répétition inutile de code (coucou Symphony, coucou Cake...).
La composition permet de l'éviter.

Le seul moment où il est nécessaire d'utiliser l'héritage est lorsque l'on n'a pas écrit la classe de base et que l'on doive modifier un de ses comportements sans pouvoir utiliser un patron d'adaptation.

poo programmation tutoriels
- https://r.je/you-do-not-need-inheritance-oop.html
Encapsulation: Don't Look Up - Tom Butler
2018-08-21 12:25 - permalink -

Pourquoi l'encapsulation est nécessaire aux objets et qu'il faut faire en sorte de ne pas la rompre.

poo programmation tutoriels
- https://r.je/encapsulation-dont-look-up.html
Windows : mes astuces et raccourcis clavier
2018-08-21 11:57 - permalink -

J'ai pris un screenshot histoire de ne pas perdre ces astuces :

Windows : mes astuces et raccourcis clavier

clavier windows
- http://blogmotion.fr/systeme/raccourcis-astuces-windows-16823#more-16823
La canicule s'emballe et les caniballes...
2018-08-20 16:1 - permalink -

Vu sur Twitter durant l'été. Ça m'a fait marrer...

Humour
- https://bookmarks.ecyseo.net/?oqPYag
page 103 / 260


Tags


  • shaarli
  • wikipedia

Tags cloud

Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation
Affiches "loi aviva" créées par Geoffrey Dorne le 13 Mai, 2020 - Mastodon 1 - Mastodon 2