Skip to content

Computer Sciences

8 Topics 24 Posts

Subcategories


  • 2 Topics
    5 Posts
    zaasmiZ

    You can increase the background-size (500px in this example) to increase transition smoothing.

    const e = document.getElementsByClassName('scan')[0]; const hidden = document.getElementsByClassName('hidden')[0]; document.onmousemove = function(event) { e.style.left = `${event.clientX}px`; // ↓ background width (500px) / 2 hidden.style.setProperty("--pos", `${event.clientX - 250}px`); }; * { margin: 0; padding: 0; } html, body { width: 100%; min-height: 100vh; overflow-x: hidden; display: flex; } .banner { width: 100vw; height: 100vh; display: flex; flex-grow: 1; flex-direction: row; align-items: center; background-color: #031321; } .banner .scan { width: 7px; height: 80%; position: absolute; left: 30px; z-index: 3; transition: left 50ms ease-out 0s; border-radius: 15px; background-color: #fff; box-shadow: 0 0 15px 5px #fff, /* inner white */ 0 0 35px 15px #008cff, /* inner blue */ 0 0 350px 20px #0ff; /* outer cyan */ } .banner .description { width: 100%; color: white; font-size: 3em; text-align: center; -webkit-user-select: none; -ms-user-select: none; user-select: none; } .hidden { background: radial-gradient(dodgerblue 10%, #031321 50%) var(--pos) 50% / 500px 500px no-repeat fixed; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } <div class="banner"> <div class="scan"></div> <div class="description"> Just <span class="hidden">hidden</span> something </div> </div>
  • 1 Topics
    1 Posts
    zareenZ

    Cyberian is the best way to learn to code for beginners. With fun, quick lessons on your phone or desktop, Cyberian teaches adult learners to write real JavaScript. It’s currently available for free on Desktop, Android, and iOS. Cyberian is a Code with Google program.

    FAQ:

  • ENG101 Assignment Spring 2020

    2
    0 Votes
    2 Posts
    94 Views
    zaasmiZ

    Later Date?

  • How to Install DosBox 32bit/64bit

    3
    0 Votes
    3 Posts
    137 Views
    zaasmiZ

  • MCQ's For Computer Test General and

    11
    0 Votes
    11 Posts
    299 Views
    zaasmiZ

    @zaasmi said in MCQ's For Computer Test General and:

    Which technology is used in compact disks?

    Laser technology is used in Compact disks. The compact disc is an evolution of LaserDisc technology, where a focused laser beam is used that enables the high information density required for high-quality digital audio signals. Prototypes were developed by Philips and Sony independently in the late 1970s.

  • Uncaught ReferenceError: Chart is not defined

    1
    0 Votes
    1 Posts
    140 Views
    No one has replied
  • Welcome to #SPRING 2019 Semester

    1
    1 Votes
    1 Posts
    155 Views
    No one has replied