Search
 
SCRIPT & CODE EXAMPLE
 

CSS

Creating Hashnode logo with CSS

/* first create a div element in your html file with class="hashnode" attribute
*/

.hashnode {
    width: 5em;
    aspect-ratio: 1;
    border-radius: 1.25em;
    background: #2962ff;
    transform: rotate(45deg);
}

.hashnode:before {
    content: '';
    border-radius: 50%;
    background: white;
    height: 2em;
    aspect-ratio: 1;
}

.hashnode {
    display: grid;
    place-items: center;
}

.hashnode {
    width: 5em;
    aspect-ratio: 1;
    border-radius: 1.25em;
    background: #2962ff;
    transform: rotate(45deg);
    -webkit-mask: radial-gradient(#0000 28%, #000 28%);
    mask: radial-gradient(#0000 28%, #000 28%);
}
Comment

PREVIOUS NEXT
Code Example
Css :: const Schema 
Css :: cliping setting 
Css :: how to disable margin collapse between parent and child 
Css :: which port does ssh use 
Css :: outting a border on a map css 
Css :: change d in path svg css 
Css :: Apply "small-caps" to an element 
Css :: css3 
Css :: padding 2 values how would be they applied 
Css :: responsive header with logo and menu css code 
Css :: animacion de gota css 
Css :: set opacity except one 
Css :: how do I make secret keys available in gatsby-config from Netlify 
Css :: css math functions simplifier 
Css :: if css 
Css :: how to affect a deffernt element in css 
Css :: disable safari form formatting 
Css :: separate three content in web 
Css :: slect all li that not have ul 
Css :: The CSS to make all the columns equal in width is as follows 
Css :: Text zentrieren 
Css :: how to decrease x-axis scrollbar width through css 
Css :: change size 
Css :: add sass to react 
Css :: scss transition mixin 
Css :: text width tailwindcss 
Typescript :: rails precompile assets production 
Typescript :: use jquery in angular 
Typescript :: firestore increment field 
Typescript :: usestate as number 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =