MediaWiki:EnsSpeDemo.css

From Wiki PeiP systèmes embarqués
Revision as of 07:23, 30 June 2023 by Rex (talk | contribs) (Created page with ".phone { position: relative; width: 360px; height: 640px; margin: auto; border: 16px rgb(75, 75, 75) solid; border-top-width: 60px; border-bottom-width: 60px; border-radius: 36px; } .phone:before { content: ''; display: block; width: 60px; height: 5px; position: absolute; top: -30px; left: 50%; transform: translate(-50%, -50%); background: #333; border-radius: 10px; } .phone:after { content...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.phone {
    position: relative;
    width: 360px;
    height: 640px;
    margin: auto;
    border: 16px rgb(75, 75, 75) solid;
    border-top-width: 60px;
    border-bottom-width: 60px;
    border-radius: 36px;
  }

.phone:before {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 10px;
  }

.phone:after {
    content: '';
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    left: 50%;
    bottom: -65px;
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 50%;
  }

.phone .content {
    width: 360px;
    height: 640px;
    background: white;
  }