What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-10 15:53:09
ionic modal not full screen
// I made this by adding a custom class while presenting modal this.notifyService.presentModal({ component: AwesomeComponent, cssClass: 'small-modal', backdropDismiss: true }); // and than defined the scss/css in global.scss .small-moda... Add solution -
CSS 2021-11-10 09:13:15
card animation css
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body { font-family: Arial, Helvetica, sans-serif; } .flip-card { background-color: transparen... Add solution -
Other 2021-11-10 02:45:16
bylemon3d iframe
<div style="position: relative; padding-bottom: 56.25%;"><iframe style="width: 100%; height: 100%; position: absolute; left: 0px; top: 0px;" src="https://www.reprolive.com/argos/" width="100%" height="... Add solution -
CSS 2021-11-09 16:43:13
how to make a css clock
* { margin: 0; padding: 0; box-sizing: border-box; } body { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #091921; } .clock { width: 350px; height: 350px; display: flex; justify-content: center;... Add solution -
Html 2021-11-08 22:24:14
Responsive container centered
.container { width: 400px; height: 300px; background-color: #ccc; position: absolute; /*it can be fixed too*/ left: 0; right: 0; top: 0; bottom: 0; margin: auto; /*this to solve "the content will not be cut when the window is sm... Add solution -
Javascript 2021-11-07 04:02:15
measure width in px chrome extension
var fromX, fromY; var svg = document.createElementNS ('http://www.w3.org/2000/svg',"svg"); svg.setAttribute("style", "position: absolute; top:0;left:0;height: " + document.body.clientHeight + "px;width: 100%"); var ... Add solution