Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

fromar123

Members
  • Joined

  • Last visited

Everything posted by fromar123

  1. Hello, im making some buttons using canvas and JS, but i'd like to make rounded corners and a white circle on the left of my button (next to text), but i kind couldnt figure it out how to do it... so i'd like to ask for some help Here is what i got: button in html: <a href="#"> <canvas onmouseover="drawCanvas2()" onmouseout="drawCanvas1()" width="170" height="50" id="gradientCanvas"> Your browser does not support HTML5 Canvas. </canvas> </a> JS code: function drawCanvas1() { var gradientCanvas = document.getElementById('gradientCanvas'); var context = gradientCanvas.getContext('2d'); var myGradient = context.createLinearGradient(0, 60, 0, 0); myGradient.addColorStop(0, 'blue'); context.fillStyle = myGradient; context.fillRect(0, 0, 170, 50); //text drawing.. context.fillStyle = 'white'; context.textBaseline = 'top'; context.font = 'bold 30px sans-serif'; context.fillText('Download', 10, 10); }

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.