7

Circular Corner Borders 3D Hover Image (CSS Only)

 2 years ago
source link: https://codepen.io/TheMOZZARELLA/pen/OJOOVVJ
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Pen Settings

HTML Preprocessor

Add Class(es) to <html>

Stuff for <head>

0 unsaved changes
xxxxxxxxxx
<div>
  <picture>
    <img src="https://picsum.photos/id/977/1600/800" alt="mushroom" width="400" height="200">
  </picture>
  <div></div>
  <div></div>
</div>
*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Noto Sans Mono", monospace;
}
body,
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 12pt;
  line-height: 18pt;
  font-weight: 400;
  color: lawngreen;
}
body {
  display: flex;
xxxxxxxxxx

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK