Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- #cont {
- /*container! i'd recommed u only change the border eheh */
- width: 250px;
- height: 250px;
- position: relative;
- margin-left: auto;
- margin-right: auto;
- background-image: url('https://pochi.crd.co/assets/images/image11.jpg?v=6995337e');
- background-size: 100% 100%;
- background-repeat: no-repeat;
- box-shadow: inset -15px -15px 15px white, inset 15px 15px 15px white, 15px 15px 15px white, -15px 15px 15px white, 15px -15px 15px white, -15px -15px 15px white;
- margin: auto;
- }
- #float {
- /* floating text, u can change this! */
- position: absolute;
- width: 100%;
- left: 0;
- top: -10px;
- text-align: center;
- font-family: 'Berkshire Swash', cursive;
- font-size: 3.5em;
- background: linear-gradient(to top, #fff 2%, #F4C7D4 100%);
- z-index: 1;
- -webkit-filter: drop-shadow(0px 0px 3px #FFB0C9);
- opacity: 0.9;
- -webkit-text-stroke-width: 0.5px;
- -webkit-text-stroke-color: #E38DAC;
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- animation-name: floating;
- animation-duration: 3s;
- animation-iteration-count: infinite;
- animation-timing-function: ease-in-out;
- }
- @keyframes floating {
- 0% {
- transform: translate(0, 0px);
- }
- 50% {
- transform: translate(0, 15px);
- }
- 100% {
- transform: translate(0, -0px);
- }
- }
- #scroll {
- /* scrollbox! u can change this! note: mess around with the 'margin-left' depending on the width or if u change anything of the scrollbox bc it messes a bit */
- opacity: 0;
- position: absolute;
- margin-left: 4%;
- margin-right: 4%;
- width: 210px;
- top: 80px;
- border-radius: 10px;
- padding: 10px;
- height: 130px;
- overflow: scroll;
- background: #FFFFFF90;
- transition: opacity .35s ease;
- /* style of the text inside scrollbox */
- font-size: 16px;
- font-family: 'Quicksand', sans-serif;
- color: #000;
- text-align: center;
- }
- mark {
- background: #F4C7D499;
- border: 1px solid #454545;
- border-radius: 7px;
- padding-left: 5px;
- padding-right: 5px;
- }
- #cont:hover #scroll {
- opacity: 1;
- }
- #overlay {
- /* overlay! (blue in this case) (hidden without mouseover) */
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- background: rgba(199, 234, 252, 0);
- /*copy the color of ur choice in rgb! the last digit stands for opacity*/
- overflow: hidden;
- width: 0;
- height: 100%;
- transition: background 0.5s ease;
- border-radius: 9px;
- }
- #cont:hover #overlay {
- /* overlay when hovered! (it appears) */
- width: 100%;
- background: rgba(199, 234, 252, .2);
- /*copy the color of ur choice in rgb! the last digit stands for opacity*/
- transition: background 0.5s ease-out;
- }
- ::selection {
- color: white;
- background: #E75087;
- }
- </style>
- </div>
- <div id="embed03">
- <div id="cont">
- <div id="float">name</div>
- <div id="overlay"></div>
- <div id="scroll">
- your text here
- <p>
- </div>
- </div>
- </div>
- </div></div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement