BEM class name preprocess

Developer
Size
2,474 Kb
Views
6,072

How do I make an bem class name preprocess?

What is a bem class name preprocess? How do you make a bem class name preprocess? This script and codes were developed by Martin Grand on 19 December 2022, Monday.

BEM class name preprocess Previews

BEM class name preprocess - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>BEM class name preprocess</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body,
html { margin:0; padding:0; height:calc(100% - 2px);
}
textarea { display:inline-block; background:#1d1f20; color:#8cd885; width:50%; height:100%; margin:0; padding:30px; box-sizing:border-box; border:0 none; font-size:20px; font-family: 'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;	font-size: 20px;	line-height: 30px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <textarea id="source"><a class="button"> <span class="button.text"></span> <span class="button.icon(arrow)"></span>
</a>
<a class="button(red)"> <span class="button.text(uppercase,light,italic)"></span> <span class="button.icon(arrow, small)"> <span class="button.icon.decor"></span> </span>
</a>
<a class="button(green, large, full-width, bottom)"> <span class="button.text(bold)" id="text"></span> <span class='button.icon(arrow, large) custom-class'></span>
</a>
// explanation:
block => block
block.element => block block__element
block.element.element => block block__element__element
block.element(modifier) => block block__element block__element--modifier
block.e(m1,m2) => block block__e block__e--m1 block__e--m2
block(modifier) => block block--modifier
block(m1,m2) => block block--m1 block--m2
</textarea><textarea id="result" disabled></textarea> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://cdn.rawgit.com/martin-grand/Process-BEM/master/process-bem.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

BEM class name preprocess - Script Codes CSS Codes

body,
html { margin:0; padding:0; height:calc(100% - 2px);
}
textarea { display:inline-block; background:#1d1f20; color:#8cd885; width:50%; height:100%; margin:0; padding:30px; box-sizing:border-box; border:0 none; font-size:20px; font-family: 'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;	font-size: 20px;	line-height: 30px;
}

BEM class name preprocess - Script Codes JS Codes

function process(){ $('#result').val(ProcessBEM($('#source').val()));
}
$(document).on('ready', function(){ process(); $('#source').focus().on('keyup', process);
});
BEM class name preprocess - Script Codes
BEM class name preprocess - Script Codes
Home Page Home
Developer Martin Grand
Username martingrand
Uploaded December 19, 2022
Rating 3
Size 2,474 Kb
Views 6,072
Do you need developer help for BEM class name preprocess?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Martin Grand (martingrand) Script Codes
Create amazing video scripts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!