Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css pass param to class

<div class="round" style="--radius: 100%;"></div>
<style>
  .round {
    display: block;
    height: 40px;
    width: 40px;
    border: 1px solid #BADA55;
    border-radius: var(--radius);
  }
</style>
Comment

PREVIOUS NEXT
Code Example
Css :: html style input number buttons 
Css :: css class and id selector 
Css :: image cover css 
Css :: media queries import file 
Css :: css image popup on hover 
Css :: how to make a link into normal text css 
Css :: scss mixin 
Css :: mettre un element en avant css 
Css :: how to override material ui css 
Css :: dropdown size based on text 
Css :: flex basis 
Css :: vertical center before css 
Css :: text background in css 
Css :: text-overflow ellipsis hover tooltip css 
Css :: bootstrap text truncate after 3 lines 
Css :: boostrap breakpoints 
Css :: css wrap text 
Css :: details transition css 
Css :: css display offscreen 
Css :: include css typo3 
Css :: jquery woocommerce disable add to cart css 
Css :: css color codes 
Css :: test typescript 
Css :: debordement de texte css 
Css :: css font-family 
Css :: #00af8f rgba gradient 
Css :: restrict css to apply on div 
Css :: enable xdebug ddev 
Css :: what css font smoothing 
Css :: ui gradient 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =