Skip to content

Instantly share code, notes, and snippets.

@davidicus
davidicus / cssTernary.css
Created June 26, 2017 21:21
Using custom properties to run a ternary operator in css
calc(-1 * var(--panning) + 1);
@awunnenb
awunnenb / ContentView.swift
Last active October 14, 2024 23:19
SwiftUI WKWebView and Back- Forward Buttons
// Youtube Video: https://youtu.be/SBvrvJ93gh4
import SwiftUI
import WebKit
struct ContentView: View {
let webView = WebView(request: URLRequest(url: URL(string: "https://www.google.com")!))
var body: some View {
VStack {