I'm using ITCSS to structure my styles. Now I have a page with an image where I need that its max-height would be 512px. This property is specific for the image in that page, so using ITCSS where should I put this property? The image has the class img-fluid of Bootstrap. Another question is, using ITCSS could I create styles for specific pages, or should organize my styles using the structure "imposed" by ITCSS?
ITCSS - Where put classes specific for a page
196 Views Asked by Mintendo At
1
There are 1 best solutions below
Related Questions in CSS
- CSS Class is not applying to element (border width,color,and style attributes)
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
- Positioning child at bottom of parent with scroll
- Play multiple audio files in a slider
- How to set text over image?
- Website zoomed out on Android default browser
- Writing/Overwriting to specific XML file from ASP.NET code behind
- My navbar is not expanding after collapse
- when a checkbox is checked how to display a different hidden element using javascript
- Gaps Vertically Using Dividers
- CSS: Preventing a property to affect on element until the end of transition
- Polygon Button with pure CSS
- transform-origin doesnt apply in safari
- show/hide multiple div tags at once and change the size of the remaining div tag
- Mask the image/maps/div (circle) using css and jquery
Related Questions in TWITTER-BOOTSTRAP
- UIWebView Screen Fitting Issue
- Website zoomed out on Android default browser
- Twitter Bootstrap horizontal form elements on a line
- My navbar is not expanding after collapse
- Reload List after Closing Modal
- Overwrite Bootstrap style for a single page
- UI.Bootstrap Angular Typeahead and Firebase Array
- Bootstrap - Fixed navbar doesn't do what's expected?
- Bootstrap NavBar with no content on small screens
- Bootstrap Dropdown Button Problems
- ScrollBar not showing up - BootStrap
- Bootstrap flip card with css3 transform
- bootstrap grid layout questions
- How do I make jquery events work in a bootstrap modal with dynamic content and selectors?
- Using GLYPHICONS's free pngs with classes
Related Questions in SASS
- Gulp wont restart in any of my projects
- Gulp Sass not compiling partials
- Compile SASS files in separate folder with relative assets/urls?
- SASS illegal nesting
- How to make :hover more mobile friendly and accessible?
- Elixir not creating multiple css files
- Editing sass in server
- use sass transformer in intellij dart
- How to load different Scss files with Meteor routed pages
- Strange SASS output when using extends
- Grunt - Compile and import separate sass in dev, but concatenate them when build
- gulp concat after sass
- Ampersand not working in :before in SASS
- How to get started with scssphp
- sass-rails depends on sass v3.2, I need sass v3.4. What is sass-rails' "gemfiles" directory for, and will it help me use sass v3.4?
Related Questions in ITCSS
- BEMIT: Use helpers all the time vs. extend them in components vs. repeat them in components?
- CSS Project Structure
- ITCSS - Where put classes specific for a page
- Is there any way to only render the template/content of my Angular component?
- Why css object should start with prefix o- and component starts with c-?
- How to manage specificity issues using ITCSS and having forms?
- In ITCSS what approach would you use to style a 2 and 3 column layout?
- How to include external libraries inside ITCSS project?
- Separating structure and skin with ITCSS, BEM, and OOCSS
- ITCSS: where to put CSS animations?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It depends on how much page specific styling you have.
One way is to style the image as a variation of image. Used like
<img class="c-img c-img-fixed-hero" src="/path" />".Another way is to create a page component and use modifiers to apply seperate styles for each variation.