What do you want to save?
Add Code snippet
New code examples
-
CSS 2022-01-30 11:31:25
css for svg
/* the following css properties are allowed to use in svg */ alignment-baseline, baseline-shift, clip-path, clip-rule, color, color-interpolation, color-interpolation-filters, color-rendering, cursor, direction, display, dominant-baseline, fill-opacity, f... Add solution -
TypeScript 2022-01-28 16:55:22
how to css after elements for background overlays
.banner::after { content: ""; // ::before and ::after both require content position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(120deg, #eaee44, #33d0ff); opacity: .7;} Add solution -
TypeScript 2022-01-26 05:31:20
react functional components modal
import React, { useEffect } from "react";import { createPortal } from "react-dom";import styled from "styled-components";import PropTypes from "prop-types"; const Portal = ({ children }) => { const modalRoot = ... Add solution -
Javascript 2022-01-24 22:55:02
button size react native
/* I recommend you to use the TouchableOpacity component to build your own button, with own properties and styles. You can easily style it like this:*/ <TouchableOpacity style={{ height: 100, marginTop: 10 }}> <Text>My button</Text> ... Add solution -
Other 2022-01-23 09:15:51
how to add shadow to search bar in flutter
return Container( margin: EdgeInsets.only(left: 30, top: 100, right: 30, bottom: 50), height: double.infinity, width: double.infinity, decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.only( topLeft: Radius.c... Add solution -
Html 2022-01-23 07:15:48
how to make a button that paste text in a textbox html
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .tooltip { position: relative; display: inline-block; } .tooltip .tooltiptext { visibility:... Add solution -
CSS 2022-01-23 05:15:47
set background image with color with opecity css
body::before{ content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background-image: url(image.jpg); /*Put your image url*/ background-size: cover; background-position: cente... Add solution